Content added Content deleted
(Page finished, good to go.) Tags: Mobile edit Mobile web edit |
m (Added a small section about programming.) |
||
Line 12: | Line 12: | ||
The '''Light''' is a part that emits light when powered. It is an essential part during the night and in spaceships, and is also used for some crafting recipes. |
The '''Light''' is a part that emits light when powered. It is an essential part during the night and in spaceships, 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== |
==In-game Description== |
Revision as of 09:37, 22 May 2024
The Light is a part that emits light when powered. It is an essential part during the night and in spaceships, 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.