Rotate()

Syntax:

Rotate( Angle,Time, Wait )

Parameters:

Angle – set the degree of rotation of the specified Object. Angle should be an integer. This parameter is required.

Time – the time period in seconds. This parameter is optional. The default value is 0.0 seconds

Wait – Wait for this script command to complete before moving to the next script command, or not to wait. Wait is either true or false. If Wait is true, the script pauses until this animation is completed before continuing to the next line of the script. If Wait is false, the script will process the next line of script immediately. This parameter is optional. The default value is true.

Remarks:

This function sets the specified Objects rotation to the amount set in Angle over a specified time. The Time parameter is optional.

image\Script_Button.jpgExamples