Description
The Moving State behavior will "watch" a selected object and trigger an event when the object is in a specific moving state.
Properties
Triggers Once on Event
Object A |
This is the object that will trigger the event when it moves. By default the current object is selected, but you can tap the graphic and choose any other object in your scene. |
Event Type |
|
Check X Axis |
If the toggle is off, then the event will not be triggered if the object moves horizontally. By default the switch is on. |
Check Y Axis |
If the toggle is off, then the event will not be triggered if the object moves vertically. By default the switch is on. |
Outputs
Object ID |
This outputs the Object ID. |
Examples
If you want to change the color of your object as soon as it has started moving towards the left or right. Simply add the Moving State behavior, use the Started Moving event type and make sure only the Check X axis toggle is on. Then connect a change color behavior.
Related
0 Comments