Motion2D¶
Category: Executor Tier: Basic
Purpose¶
The Motion2D executor provides 2D-specific motion and physics for Node2D-based objects.
Visual Reference¶

Runtime Behavior¶
Inputs
Activate (Boolean): When true, applies motion; when false, motion stops.
Outputs None.
Properties
Universal (all modes and types)
Property |
Type |
Default |
Description |
|---|---|---|---|
|
Option |
|
Physics system: Simple / Force / Velocity / Character |
|
Option |
|
Motion type: move / rotate / Top-Down |
|
Bool |
|
Local space (true) or world space (false) |
|
Vector3 |
|
Move/Top-Down: X=right, Y=up (intuitive). Rotate: Z=rotation speed (deg/sec) |
|
Float |
|
pixels/sec (move) or deg/sec (rotate) |
Conditional — Simple+move and Simple+Top-Down only
Property |
Type |
Default |
Description |
|---|---|---|---|
|
Bool |
|
Clamp X/Y to -1..1 range |
|
Bool |
|
Prevent √2 speed boost on diagonal input |
|
Float |
|
Scale diagonal speed (0.1–1.0) |
Conditional — Character+move and Character+Top-Down only
Property |
Type |
Default |
Description |
|---|---|---|---|
|
Bool |
|
Clamp X/Y to -1..1 range (also Velocity mode) |
|
Bool |
|
Add to existing velocity (true) or replace (false) |
Conditional — Character+move only
Property |
Type |
Default |
Description |
|---|---|---|---|
|
Bool |
|
Enable jump input |
…
Properties¶
Property |
Type |
Default |
Notes |
|---|---|---|---|
Physics Mode |
option |
Simple |
Simple: direct/non-physics movement. Force/Velocity: RigidBody2D. Character: CharacterBody2D. Use Top-Down here for floating 2D movement with collisions. |
Mode |
option |
move |
move: translate in X/Y. Top-Down: top-down move surface (best with Character mode; behaves like move in Simple/Velocity). rotate: 2D rotation uses Z only. |
Local |
bool |
True |
True: Move relative to object’s rotation. False: Move in world space. |
Axis |
vector3 |
[0, 0, 0] |
move/Top-Down use X and Y. rotate uses Z only for 2D rotation speed (deg/sec). |
Speed |
float |
100.0 |
Movement speed (pixels/sec) or rotation speed (deg/sec). |
Clamp |
bool |
True |
Clamp vector X/Y to -1..1 (direction only, speed controls magnitude). |
Normalize Diagonals |
bool |
True |
Keep the same speed when moving diagonally (prevents √2 boost). |
Diagonal Factor |
float |
1.0 |
Scale diagonal speed (1.0 = same as single direction, 0.7 = slower). |
Add Movement |
bool |
False |
Add to existing velocity instead of replacing (CharacterBody2D). |
Jump Input |
bool |
False |
Make character jump (CharacterBody2D). |
Jump Frc |
float |
400.0 |
Jump velocity (pixels/sec) for Character mode. |
Max Jumps |
int |
1 |
Maximum jump count (1=single, 2=double, 3=triple… 9999=infinite). |
Cooldown |
float |
0.05 |
Time (seconds) before jumping again (0.0 = instant). |
Verbose |
bool |
False |
Log motion mode, vector, and speed each tick (controlled by ladybug button) |