how to find the global position vector of a 3D object godot code example
Example: godot get global position 3d
for 3D:
global_transform.origin
for 2D:
global_position()
for 3D:
global_transform.origin
for 2D:
global_position()