send_mouse_click
Simulate mouse click events at specified coordinates in Godot, offering choice of button and double-click for automated UI testing.
Instructions
Send a mouse click (press+release) at specific coordinates. For cursor movement, use send_mouse_motion. For dragging, use send_mouse_drag. Requires run_interactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in viewport pixels. | |
| y | Yes | Y coordinate in viewport pixels. | |
| button | No | Mouse button to click. Default: "left". | |
| doubleClick | No | Whether this is a double click. Default: false. |