Pin layers to their parent's edges
figma_anchor_nodesPositions existing Figma layers against parent edges and applies matching constraints, removing them from auto-layout when needed for floating buttons, bottom sheets, toasts, and badges.
Instructions
Positions existing layers against their parent's edges and sets matching constraints, taking them out of auto-layout flow if needed. For floating buttons, bottom sheets, toasts and badges, e.g. {right: 16, bottom: 16, above: "Navigation bar"}.
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": {
"items": "<items>"
},
"name": "figma_anchor_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| items | Yes |