CameraX()

Syntax

Result = CameraX(#Camera [, Mode])
Description
Returns the current 'x' position of the camera in the world.

Parameters

#Camera The camera to use.
Mode (optional) The mode to get the 'x' position. It can be one of the following value:
  #PB_Absolute: get the absolute 'x' position of the camera in the world (default).
  #PB_Relative: get the 'x' position of the camera relative to its parent.

Return value

Returns the 'x' position of the camera.

See Also

CameraY(), CameraZ(), MoveCamera()

Supported OS

All

<- CameraViewY() - Camera Index - CameraY() ->