# camera-layers-invalid

> Talos 0.6 · Since 0.6

A camera sets both `layers` and `hideLayers`, or one of them is an empty list.

| | |
|---|---|
| Severity | `error` |
| Source | `contract` |
| Offers a fix patch | no |

## Messages

The message opens with the code; `<…>` stands for a value.

- `camera on "<…>" hideLayers is empty; remove it`
- `camera on "<…>" layers is empty, so it draws nothing; remove it to draw every layer`
- `camera on "<…>" sets both layers and hideLayers; keep one: layers draws only those, hideLayers every layer but those`

## Where it points

- `/<n>/hideLayers`
- `/<n>/layers`

## Components it can refuse

- `camera`

## Since / changed

See the version chips above and what changed.
