imgui_set_mouse_pos
Set the mouse cursor position to specific screen coordinates (x, y) in the Dear ImGui UI, enabling precise pointer placement for input simulation and interaction testing during UI design.
Instructions
Set the mouse cursor position in screen coordinates
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>"
},
"name": "imgui_set_mouse_pos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate | |
| y | Yes | Y coordinate |