Behavior : Drag scale
Author:Rex.Rainbow
- Get scaling from two dragging points
Download
Properties
Activated
- Enable if you wish this to begin at the start of the layout.
Auto scale
- Auto scale instance size with dragging.
Actions
Active
Action:Set activated
- Enable the object's drag scale behavior.
- Activated ( Combo ) : Enable the drag scale behavior.
Auto scale
Action:Set auto scale
- Enable to auto scale instance size with dragging.
- Auto scale ( Combo ) : Enable to auto scale instance size with dragging.
Expressions
Dragging point
Expression:P0X
- Get the X co-ordinate of dragging point 0.
Expression:P0Y
- Get the Y co-ordinate of dragging point 0.
Expression:P1X
- Get the X co-ordinate of dragging point 1.
Expression:P1Y
- Get the Y co-ordinate of dragging point 1.
Scale
Expression:Scale
- Get scaling from dragging points.
State
Expression:CurState
Conditions
Cancel
Condition:On canceled
- Triggered when dragging canceled.
Drag
Condition:On dragging start
- Triggered when dragging start.
Condition:Is dragging
Dragging moving
Condition:On dragging moving start
- Triggered when object dragging moving start.
Condition:On dragging moving
- Triggered when object dragging moving.