im very, VERY, new to godot and i have no idea what im doing, but right now i need to get an object's z coordinate, how do i do this?
If the node is a Spatial-based node, you can use SpaitalNodeHere.global_transform.origin.z for the global Z coordinate and SpatialNodeHere.transform.origin.z for the local Z coordinate.
SpaitalNodeHere.global_transform.origin.z
SpatialNodeHere.transform.origin.z