Skip to main content

moveNodesToCoord

Moves the specified nodes to a specific coordinate in the canvas grid.

info

This API is only available in Figma Slides and Figma Buzz

This function allows precise positioning of multiple nodes within the canvas grid system used in Slides and Buzz.

Signature​

moveNodesToCoord(nodeIds: string[], rowIndex?: number, columnIndex?: number): void

Parameters​

nodeIds​

Array of node IDs to move

rowIndex​

The target row index in the canvas grid (optional)

columnIndex​

The target column index in the canvas grid (optional)

Remarks​

Calling this function without rowIndex and columnIndex will move the node to the end of the grid