Light
Light : Instance
Overview
This is the base class for lighting effect instances such as SpotLight and PointLight.
Properties
Brightness
number
This property sets the light’s intensity.
Code Samples
PointLight.Brightness = 5000
Color
Color3
This property sets the light’s color.
Code Samples
PointLight.Color = Color3.fromRGB(255, 0, 0)
Enabled
bool
This property turns on/off the light.
Code Samples
PointLight.Enabled = false
Shadows
bool
Currently not supported.
Code Samples
Methods
Events
See also
LightingLast updated