IsLight()

Syntax

Result = IsLight(#Light)
Description
Tests if the given #Light is a valid and correctly initialized light.

This function is bullet-proof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, else it returns zero. This is the correct way to ensure that a light is ready to use.

Supported OS

All

<- HideLight() - Light Index - LightColor() ->