runtime_input
Simulate keyboard input in a running Godot game by injecting key press or release events.
Instructions
Inject a key input event into the running game.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | "press" or "release". | press |
| keycode | Yes | Godot keycode (e.g. KEY_W=87, KEY_SPACE=32). See https://docs.godotengine.org/en/stable/classes/class_@globals.html#enum-keymodifierkeycode |