iTween help with path percentage

Hey im trying to get my gameObject to move along the path and start at a certain node. What I have now is it searches thru all nodes in the path and moves to the closest one. What i cant figure out is how to get it to start moving along the path from that node position. Any help would be awesome.

Lucky for you, iTween normalizes percentages based on node count- not path length. So it's as simple as counting the number of nodes in the path and figuring out the percentage.

IE) if you want to start at node 5 on a path that has 10 nodes, it would be 50% (counting from 1-10 in this example, obviously).

Yeah I did that, but for some reason its not right. For example i have 10 nodes in my test scene. I use move to when i click a button and a cube will move to the closest point. Then i use an oncomplete call in the hashtag to use PutOnPath at the percentage. I calculate the percentage by dividing the current node index i moved to by the nodeCount

Forgot to say what happens is it will move to a different place on the path. right by the point but not on the point

Ah so i figured it out had to subtract one from the nodeCount. Not sure why