<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [LightEventPayloads](./server.lighteventpayloads.md) &gt; ["LIGHT.SET\_DISTANCE"](./server.lighteventpayloads._light.set_distance_.md)

## LightEventPayloads."LIGHT.SET\_DISTANCE" property

Emitted when the maximum distance the light will illuminate is set.

**Signature:**

```typescript
[LightEvent.SET_DISTANCE]: {
        light: Light;
        distance: number;
    };
```
