Categories > Movement > rex_platform_moveto

Introduction

Move platformer to specific position.

Links


Categories > Movement > rex_platform_movetoIntroductionLinksDependenceUsagePrepareMove to targetReach targetStop

Dependence

Usage

Prepare

Put this behavior under official platform behavior.

Move to target

Reaching targetMoving start----Action:Move to XAction:Move to objectAction:Move to delta XAction:Move to distance+Every tick-Action:Simulate control<Official platform behavior>Condition:On hit target position

Sample capx

Call One of these action to move platformer to target position by Action:Simulate control of official platform behavior.

Target position is (Expression:TargetX , Expression:TargetY).

Reach target

Stop