PosZ =  camera .position .z .get  (  CameraObjectID  )  
                                     
Description :

This instruction returns the Z component for the world space position of a camera.

Parameters :

  • ObjectID of the camera.

Return Value :

  • Z component of the world space position.

Examples :