Topic was automatically imported from the old Question2Answer platform.
Asked By
samtse1000
In the context of 2d games with godot I’ve Been unable to understand what global position is?
And how it relates to position ?
( my early attempts at coordinate comparisons between node2d sub-classes was pretty confusing )
And I haven’t found anything in the docs to help
Could someone tell me what global position is and how it relates to position ?
On the 2d screen you will see perpendicular 2 lines, Y as green and X as red. Where they cross is the point (0,0), the .global_position is relative to this point, independent in what scene they are or who they are children. .position is relative to the parent, if you move the parent, the child moves too