set_grid_child_position
Place a child in a Figma grid parent by setting 0-based row/column anchors, row/column spans, and cell alignment. Use it to position, size, or stretch grid children without manual layout.
Instructions
Place a child in its GRID parent: row/column are 0-based anchor indices, rowSpan/columnSpan are how many tracks it covers, and the aligns control it inside its cell ('AUTO' stretches). Spans must fit inside the grid — anchor + span cannot exceed the track count, and the tool reports the actual bound if it does. A span also cannot cross a cell another child already occupies (Figma reports it as a span blocked by existing children in adjacent columns), so place and widen a spanning child BEFORE adding the children beside it. Children keep their own size by default; use align 'AUTO' on an axis to stretch into the cell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | ||
| column | No | ||
| nodeId | Yes | ||
| rowSpan | No | ||
| columnSpan | No | ||
| verticalAlign | No | ||
| horizontalAlign | No |