LightZ()

Syntax

Result = LightZ(#Light [, Mode])
Description
Returns the current position of the light in the world.

Parameters

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

Return value

The 'z' position of the light.

See Also

LightX(), LightY(), MoveLight()

Supported OS

All

<- LightYaw() - Light Index - MoveLight() ->