Set Ambient Light Intensity
Set the ambient light intensity to 100 when a button is clicked.
Introduction
Set Ambient Light Intensity sets the ambient light intensity of the world. It sets Environment.Light Intensity to 100, so the world gets brighter. This is how a button changes the ambient light. caption Set the ambient light intensity to 100 when a button is clicked: When button is clicked by Player -> Set (System, Environment.Light Intensity, Change To, 100)
Steps
Add the event When button is clicked by Player. Add a Set command under it. Set the target to System and pick Environment.Light Intensity. Set the mode to Change To and the value to 100.
When to use it
A button that sets the ambient light intensity. Brightening or dimming a world. Day and night changes.
Notes
The value is 100, change it to make the world brighter or darker. Ambient light affects the whole world, not just one object.