LightY()

Syntax

Result = LightY(#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 'y' position. It can be one of the following value:
  #PB_Absolute: get the absolute 'y' position of the light in the world (default).
  #PB_Relative: get the 'y' position of the light relative to its parent.

Return value

The 'y' position of the light.

See Also

LightX(), LightZ(), MoveLight()

Supported OS

All

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