reorder_node
Reorder a Figma node's position in the layer stack within its parent. Move to front, back, forward, or backward, or set a specific index. No reparenting.
Instructions
Change the z-order (layer order) of a node within its parent. Distinct from insert_child which re-parents a node — reorder_node changes position within the same parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to reorder | |
| position | No | Move to front/back or one step forward/backward | |
| index | No | Direct index position within parent's children (0 = bottom). Overrides position if both provided. |