Behavior : Platform MoveTo

Author:Rex.Rainbow

Download

Properties

Activated

  • Enable if you wish this to begin at the start of the layout.
    • Options : ["No","Yes"]

Actions

Action:Set activated

  • Enable the object's MoveTo behavior.
    • Activated ( Combo ) : Enable the behavior.
      • Options : ["No","Yes"]

MoveTo

Action:Move to X

  • Move to specific position by X.
    • X ( number ) : The X co-ordinate to move toward.

Action:Move to object

  • Move to object.
    • Target ( object ) : Target object.

Action:Move to delta X

  • Move to specific position by deltaX.
    • dX ( number ) : The delta X to move toward, in pixel.

Action:Move to distance

  • Move to specific position by distance.
    • Distance ( number ) : The destance to move toward, in pixel.
    • Direction ( Combo ) : Direction of moving.
      • Options : ["Left","Right"]

Stop

Action:Stop

  • Stop moving.

Expressions

Current

Expression:Activated

  • The current activated state of behavior.

Target

Expression:TargetX

  • The X co-ordinate of target position to move toward.

Expression:TargetY

  • The Y co-ordinate of target position to move toward.

Conditions

Condition:On hit target position

  • Triggered when hit target position.

Condition:Is moving

  • Is object moving.