add_input_action
Add a new input action to a Godot project's Input Map for configuring game controls. Define actions like 'jump' or 'attack' to bind keys later in the editor.
Instructions
Add a new input action to the project's Input Map (with no events bound). Use the Godot editor or set_project_setting to bind keys to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| actionName | Yes | Action name (e.g. "jump", "attack", "ui_cancel") |