GetPositionFromPercent()

Syntax:

GetPositionFromPercent( Percent )

Return:

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

Parameters:

Percent – set the percentage distance along the Animation Path for which you want to return the x and y co-ordinates. Percent must be a number between 0 (start of path) and 100 (end of path). This parameter is required.

Remarks:

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

image\Script_Button.jpgExamples