Finding an Object's 3D Position
In this example (Figure 14.10), clicking any of the objects will produce an alert displaying the z-index value for that element.
Figure 14.10. An alert appears, displaying the layer number of the object clicked.
To find the z-index of an object: