LightX()
Syntax
Result = LightX(#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 'x' position. It can be one of the following value: #PB_Absolute: get the absolute 'x' position of the light in the world (default). #PB_Relative: get the 'x' position of the light relative to its parent.
Return value
The 'x' position of the light.
See Also
LightY(), LightZ(), MoveLight()
Supported OS
All