Content added Content deleted
m (Added a small section about programming.) |
m (very slight rewrite) |
||
Line 11: | Line 11: | ||
}} |
}} |
||
The '''Light''' |
The '''Light''' emits light when powered. It is commonly used in spaceships and planets (during nighttime) as it makes seeing easier, and is also used for some crafting recipes. |
||
=== Programming === |
=== Programming === |
Revision as of 20:39, 23 May 2024
The Light emits light when powered. It is commonly used in spaceships and planets (during nighttime) as it makes seeing easier, and is also used for some crafting recipes.
Programming
A Microcontroller can change the color of a light by using Light:SetColor() and passing in a Color3 value, note that doing so too fast will cause the light to glitch.
In-game Description
"Emits light when powered with electricity. Can be colored in different ways, changing the light color"
Configuration
- Brightness(number) [0 - 2] - The brightness of the light.
- LightRange(number) [1 - 60] - The range of the light.