Light
Light : Instance
Properties
Brightness
number
Brightness is a numerical property that controls the intensity of light emitted.
Code Samples
PointLight.Brightness = 5000
Color
Color3
Determines the color of the light, allowing for creative effects and mood setting.
Code Samples
PointLight.Color = Color3.fromRGB(255, 0, 0)
Enabled
bool
A boolean property that toggles the light on or off.
Code Samples
PointLight.Enabled = false
Shadows
bool
Determines whether objects block the light and cast shadows, adding realism to the scene.
Code Samples
print(PointLight.Shadows)
Methods
Events
Last updated