simulate_input
Simulate a sequence of input actions (key presses, mouse clicks/motion, UI element clicks, input actions, waits) in a running Godot project to automate tests or interactions.
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 |
|---|---|---|---|
| tip | No | ||
| success | No | ||
| warnings | No | ||
| actions_processed | No |