Skip to content

Api > MLCelestialData > EnableSunMovement()


MLCelestialData.EnableSunMovement(boolean enabled)⚓︎

Enables or disables the movement of the directional light (sun) by the component.

Parameters:⚓︎

Name Type Description
enabled boolean True to enable, false to disable.

Usage⚓︎

---@type MLCelestialData
local mlcelestialdata;

---@type boolean
local enabled;


mlcelestialdata.EnableSunMovement(enabled)