Behavior : Cursor2
Author:Rex.Rainbow
- Move Sprite to cursor of mouse
Download
Properties
Activated
- Enable if you wish this to begin at the start of the layout.
Invisible
- Enable if you wish to set sprite invisible at touch end.
Axis
- The axis this object can move on.
- Options : ["Both","Horizontal","Vertical"]
Actions
Action:Set activated
- Enable the object's cursor behavior.
- Activated ( Combo ) : Enable the behavior.
Expressions
Expression:Activated
- The activated setting, 1 is activated.
Position
Expression:X
- Get the mouse cursor X co-ordinate in the layout.
Expression:Y
- Get the mouse cursor Y co-ordinate in the layout.
Conditions
Moving
Condition:On moving start
- Triggered when object moving start.
Condition:Is moving
Condition:On moving end
- Triggered when object moving end.