set_layout_mode
Set a Figma frame's layout mode and wrap behavior. Specify horizontal or vertical arrangement, or disable layout, and control whether children wrap to the next line.
Instructions
Set the layout mode and wrap behavior of a frame in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the frame to modify | |
| layoutMode | Yes | Layout mode for the frame | |
| layoutWrap | No | Whether the auto-layout frame wraps its children |