globalPosition
Sets the position of the CanvasItem in global space.
Return
the current CanvasItem
Parameters
value
the new position
Sets the position of the CanvasItem in global space.
Return
the current CanvasItem
Parameters
x
the new x position
y
the new y position
The position of the CanvasItem in global space. If you want to set the x,y properties of this Vec2f then use the globalX and globalY properties of this CanvasItem