FollowPath()

For an Image object named myImage, use the following syntax:

myImage.FollowPath(Path1, 2.0, false, true, 10, 90, true)
myImage.Hide()

In this example, myImage will follow the path named Path1, it will take two seconds for the animation to complete, myImage follows the path relative to it's current location and its orientation is aligned to the path. The animation starts 10% in from the beginning of the path and finishes 90% along the path. Finally, the script will wait for this animation to complete before it processes the next line of script that hides myImage.

Close