CameraY()

Syntax

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

Parameters

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

Return value

Returns the 'y' position of the camera.

See Also

CameraX(), CameraZ(), MoveCamera()

Supported OS

All

<- CameraX() - Camera Index - CameraYaw() ->