Parameters
The ID of the node to move
New X position (horizontal coordinate on the canvas)
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_infoto retrieve current position first - Negative coordinates are allowed and will position nodes outside the visible canvas area