game_ui_control
Sets focus, anchors, tooltip, and mouse filter on Godot Control nodes. Adjust UI behavior by grabbing or releasing focus, configuring anchors, tooltips, and mouse input handling.
Instructions
Set focus, anchors, tooltip, mouse filter on Control
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": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_ui_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: configure, grab_focus, release_focus, get_info | |
| minSize | No | Minimum size {x,y} | |
| tooltip | No | Tooltip text | |
| nodePath | Yes | Path to Control node | |
| mouseFilter | No | Mouse filter: stop, pass, ignore | |
| anchorPreset | No | Anchor preset value |