set_frame_properties
Set frame layout properties like layoutPositioning, itemReverseZIndex, and clipsContent to control auto-layout flow, stacking, and clipping; x/y apply last to position ABSOLUTE children.
Instructions
Set frame layout properties not covered by other tools: layoutPositioning (ABSOLUTE takes a child out of its auto-layout parent's flow, AUTO puts it back), itemReverseZIndex (auto-layout stacking: true = first child on top), clipsContent (clip overflowing children). x/y are applied last, so an ABSOLUTE child can be positioned in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position relative to the parent | |
| y | No | Y position relative to the parent | |
| nodeId | Yes | ID of the frame, component, instance or child node | |
| clipsContent | No | Whether the frame clips content outside its bounds | |
| itemReverseZIndex | No | Auto-layout frames only: true = first child drawn on top | |
| layoutPositioning | No | Position of the node inside its auto-layout parent |