Obtains the position of the specified object on the z-axis.
AR object to check.
Value of position on the z-axis.
Obtains the position of the specified object on the z-axis.