======Set Ambient Light Enabled====== ---- Enables or disables the [[map|map's]] [[ambient light]]. ====Signature:==== set_ambient_light_enabled(enabled) ^Argument^Description^Type^Required^ |enabled|Determines the [[ambient_light|ambient light's]] state (on or off).|[[Boolean]]|Yes| If you'd like to change the [[color]] of the [[ambient light]] instead of turning it on or off, see the related [[Set Ambient Light Color]] function. ====Example:==== set_ambient_light_enabled(false); //Results:// The [[map|map's]] [[ambient light]] is disabled and no longer affects the scene until enabled again. Use the **Set Ambient Light Color** function to change the overall mood of a room or to complement another light source's [[color]] change. ====Editor Node:==== {{:wiki:set_ambient_light_enabled_node.png?nolink|}} ====Visual Demo:==== {{:wiki:set_ambient_light_enabled_demo.gif?nolink|}} ~~NOTOC~~