set_anchor_preset
Apply a layout anchor preset to a Control node, positioning it relative to its parent. Choose from presets like center, full_rect, and edge-aligned options.
Instructions
Apply a Control layout anchor preset to a Control node
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": {
"node_path": "<node_path>",
"preset": "<preset>"
},
"name": "set_anchor_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | ||
| node_path | Yes | ||
| keep_offsets | No |