SpotLight

SpotLight : Light

Properties

Angle

number

The Angle adjusts the light projection angle to adjust the diffusion and width of light in degrees.

Code Samples

local SpotLight = script.Parent

print(SpotLight.Angle)

Face

Enum.NormalId

The Face property determines the direction of the spotlight component.

Code Samples

local SpotLight = script.Parent

print(SpotLight.Face)

Range

number

Range is a property defines the maximum distance from the point light at which it illuminates objects.

Code Samples

local SpotLight = script.Parent

print(SpotLight.Range)

Methods

Events

Last updated