GetPosition()

Syntax:

GetPosition( Length )

Return:

A new object with two properties: the x co-ordinate of the entered length; and the y co-ordinate of the entered length – in relation to the specified animation path.

Parameters:

Length – set the length along the animation path for which you want to return the x and y co-ordinates. Length is the number of pixel units along the specified animation path Object. This parameter is required.

Remarks:

This function will return a new object containing an x and y co-ordinate for Length.

image\Script_Button.jpgExamples