godot get global position 3 code example Example: godot get global position 3 for 3D: global_transform.origin for 2D: global_position()