Closed tkorakas closed 3 years ago
No, the API didn't change. position
and global_position
are still both there and work the same way. If you download the end project and test it, it works as intended and as shown in the video tutorial. Tested in Godot 3.2.
I followed the example on the YouTube but it seems that Godots API has changed. Replacing position with get_global_position() fixed the problem for me.
Please check if the PR fulfills these requirements:
Related issue (if applicable): #
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
New feature or change
What is the current behavior?
What is the new behavior?
Other information