simulate_input
Simulate sequential key presses, mouse actions, and UI clicks in a running Godot project to test input-driven behaviors.
Instructions
Simulate sequential input in a running project. Each action's type (key, mouse_button, mouse_motion, click_element, action, wait) gates which other fields apply — see per-property docs. For click_element use get_ui_elements first; resolution is by path/name, not visible text. Press/release require two actions; insert wait between for frame ticks. Returns: success, actions_processed, warnings for runtime errors fired by input handlers. Errors if no session or any action fails validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | Array of input actions to execute sequentially. Each object must have a "type" field. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| actions_processed | No | ||
| warnings | No | ||
| tip | No |