Rotate to Angle

Description

The Rotate to Angle behavior will rotate the selected object to a specified angle.

This behavior will trigger an event on completion.

 

Properties

Triggers on Completion

Object A

This is the object that will rotate. By default the current object is selected, but you can tap the graphic and choose any other object in your scene.

Effect

The effect used for the motion tween animation if the duration is greater than 0.

Rotation

This is the angle you want to rotate to. You can drag your finger on the circle to select the angle, or enter your angle manually by tapping "Change Manually".

Duration

How long it will take for the object to rotate to the specified angle.

 

Outputs

Object ID

This outputs the Object ID.

 

Examples

If you press a button and want an object to rotate an arrow to exactly 90 degrees.

Download Example Project

 

Related

Get Rotation

Lock Rotation

Rotate By

Rotate to Object

 

RotateByReference.gif

0 Comments

Article is closed for comments.