How do I get the x, y and z of a 3D Node in GDScript? there is no property of a self.transform that is the x, y or z of the Node. How do I do this?
Use get_global_position for the current node, then you have to grab the node with code if it's elsewhere before using get_global_position.
https://docs.godotengine.org/en/stable/classes/class_node2d.html#class-node2d-property-global-position
position is for 2d, for 3d you get the translation