BLOCK REFERENCE / ESSENTIALS

Essentials

Shortcuts to get started fast.

1 blocks

Move with WASD / arrows

Actionessentials.move
Move with WASD / arrows

Moves the object with the arrow keys or WASD at a given speed.

Use it inside On Update. Diagonals are normalized so they are not faster. It sets the position directly (no physics velocity), flips the object to face left or right, and plays animations named Walk while moving and Idle when still, if the object has them.

FieldWhat it means
speednumberMovement speed in pixels per second.Default: 220

Example Top-down player: On Update then Move with WASD / arrows at 200.