node_action
Perform structural actions on Figma nodes including deletion, cloning, selection, zoom, grouping, component conversion, variant combination, appending, and grid arrangement.
Instructions
Run a structural action on nodes (by nodeIds / nodeId / current selection): delete, clone (with offset), select (+scroll into view), zoom, group, to-component (convert each node to a component), combine-variants (promote frames to components and combine into a component set — name them 'Prop=Value' first), append (move into parentId), or arrange (grid-layout the targets with gap/columns).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Grid gap for 'arrange' (default 40). | |
| name | No | Name for group / component set. | |
| action | Yes | ||
| nodeId | No | ||
| offset | No | Clone offset in px (default 20). | |
| columns | No | Grid columns for 'arrange'. | |
| nodeIds | No | ||
| parentId | No | Target parent for 'append'. |