Lighting

Lighting : Instance

Properties

ClockTime

number

ClockTime is a number property representing the current time of day in hours, used by lighting calculations. It ranges from 0.0 to 24.0

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.ClockTime = 18 -- Hour

Ambient

Color3

Adjust the hue of the light.

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.Ambient = Color3.fromRGB(255, 0, 0)

Brightness

number

Adjust the intensity of the light.

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.Brightness = 50

Methods

Events

Last updated