Skip to content

Light

Inherits Dynamic

Light is an abstract base class for all light objects in the world.

Abstract Object

This object exists only to serve as a foundation for other objects. It cannot be accessed directly, but its properties are documented below.

Additionally, it cannot be created in the creator menu or with Instance.New().

Not newable

This object cannot be created by scripts using Instance.New().

Properties

Color : Color

Sets the color of the light.

Brightness : number

Sets the brightness of the light.

Specular : number

Sets the specular intensity of the light.

Shadows : boolean

Enables or disables shadows cast by the light.