Godot obtiene la posición global 3
for 3D:
global_transform.origin
for 2D:
global_position()
Zwazel
for 3D:
global_transform.origin
for 2D:
global_position()