🎮

Input Playground

Test Godot input handling live. Press WASD or Arrow keys!

⏸️ Idle
🚀
⌨️ WASD / Arrows to move • 🖱️ Click anywhere

⚡ Input State

W
A
S
D
Direction:
Velocity: (0.0, 0.0)
Mouse: (0, 0)

📝 GDScript

func _process(delta):
  var dir = Input.get_vector(
    "ui_left", "ui_right",
    "ui_up", "ui_down"
  )
  velocity = dir * SPEED
  move_and_slide()

📋 Event Log

Press a key to start...