user_mouse_input
Simulate mouse movements and clicks in Roblox Studio's viewport to control UI and trigger actions programmatically.
Instructions
Official Roblox Studio: Injects virtual mouse move and click events into the active Studio viewport.
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": "user_mouse_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Viewport X coordinate in pixels | |
| y | Yes | Viewport Y coordinate in pixels | |
| click | No | Whether to perform a click (default: true) | |
| button | No | Mouse button (default: Left) |