> ## Documentation Index
> Fetch the complete documentation index at: https://items.lodemc.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Light

> Lamps and lights that can be switched on and off.

```yaml theme={null}
light: 15                          # lights the piece itself
lights: ["0,1,0 15", "2,1,0 10"]   # or place lights: cell and level
light-toggle: true                 # right-click turns the lights on and off
```

A light can't be inside a solid part of the hitbox, where players would walk into it. With the short form, the light goes in the cell just above.

[States](https://items.lodemc.net/props/doors-and-states.md#states) can change the light too, like a TV that glows while it's on.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.