gta.cameraTarget

Variable Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0

Element gta.cameraTarget

The gta.cameraTarget variable is used to fetch the target element of the camera.

Value

Element The element that the camera is looking at.
readonly This variable cannot be changed.

Notes

There aren't any notes for this variable.

Examples

There aren't any examples for this variable.

Compatibility

  • This variable was previously named game.cameraTarget in client version 1.0.71.

Related

Client Related

      gta.cameraInterior
      gta.cameraMatrix
      gta.cameraTarget
        gta.fadeCamera
        gta.fading
        gta.restoreCamera
        gta.setCameraLookAt
      gta.setCameraLookAtEntity
      gta.setCameraMatrix
      gta.setCameraTarget
      gta.setGenerateCarsAroundCamera
      gta.updateCamera