How to make an object change paths on iTween

This might be a stupid question but I’m trying for a couple hours already to make an object change paths.

The current code that I have is this:

void Start ()
	{
		iTween.MoveTo(gameObject, iTween.Hash("path", iTweenPath.GetPath("Path1"), "time", 11));
	}
	void Update ()
	{
		if(Input.GetKey("Q"))
		{
			iTween.PutOnPath(gameObject, iTween.Hash("path", iTweenPath.GetPath("Path2")),0);
		}
	}

Can anyone give me a hand on this one?

Thanks

PutOnPath is used for evaluating a path and placing a GameObject at a specific point on the path whereas MoveTo with a provided path will launch a GameObject on a journey along a path. To pull off what you are trying to do you might want to simply make the response to “Q” be another MoveTo but with the Path2 instead.

Thank you very much.

I’ll try that tonight.