Get Rotation

Description

The Get Rotation behavior returns the current angle of the selected object in degrees. 

This behavior will trigger an event immediately.

 

Properties

Triggers Immediately

Object A

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

 

Outputs

Rotation

The current angle of the object. From 0 - 360 degrees.

Object ID

This outputs the Object ID.

 

Examples

If you need to know the current rotation angle of an object, you can use this behaviour to return the angle at the time it is executed.

Download Example Project

 

Related

Lock Rotation

Rotate By

Rotate to Angle

Rotate to Object

 

GetRotationReference.gif

0 Comments

Article is closed for comments.