Selects the appropriate x, y, or z coordinate, depending on what the axis is, and returns it.
the chosen coordinate
the X coordinate
the Y coordinate
the Z coordinate