Skip to main content
Move a node to a new position in the Figma canvas by specifying new X and Y coordinates.

Parameters

string
required
The ID of the node to move
number
required
New X position (horizontal coordinate on the canvas)
number
required
New Y position (vertical coordinate on the canvas)

Response

Returns the name of the moved node and its new position coordinates.

Examples

Move a button to the top-left

Position an element in the center

Offset an element from its original position

Notes

  • Coordinates are in pixels and relative to the canvas origin (top-left)
  • Moving a parent frame will move all its children with it
  • For precise alignment, use get_node_info to retrieve current position first
  • Negative coordinates are allowed and will position nodes outside the visible canvas area