Attributes
You can add Attributes to your light if you want to adjust the brightness or light range.
To change your light bulb color see Colored Lights
- Select your light part in Studio.
- On the properties panel scroll down to Attributes.
- Click the + sign on the right (it's tiny).
Select your light part and click the add attribute button in the Properties panel.
Enter the name of the attribute and select its required type (see table below).
Back in the Properties panel adjust the attribute value and test.
The following attributes are available:
Attribute | Type | Notes |
---|---|---|
brightness | number | Makes a light bulb brighter than its default setting. |
range | number | Adjusts the distance a light "visually" casts from the bulb. |
🔦You can add more than one light to be toggled by the same switch.
To do this, simply name the lights all the same as the switch prefix:
TinyLights/
outside.light
outside.light
outside.switch
The outside.switch
will toggle both outside.light
parts.