Transform Node
node_transformSet absolute position and size for a Figma node by specifying x, y, width, or height values to move or resize it precisely.
Instructions
Move and/or resize a node by setting absolute x/y/width/height (any subset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position | |
| y | No | New Y position | |
| width | No | New width | |
| height | No | New height | |
| nodeId | Yes | The ID of the node to transform | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Resulting X position | |
| y | No | Resulting Y position | |
| id | No | ID of the transformed node | |
| name | No | Name of the transformed node | |
| error | No | ||
| width | No | Resulting width | |
| height | No | Resulting height |