<!-- 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\_ATTACHED\_TO\_ENTITY"](./server.lighteventpayloads._light.set_attached_to_entity_.md)

## LightEventPayloads."LIGHT.SET\_ATTACHED\_TO\_ENTITY" property

Emitted when the light is attached to an entity.

**Signature:**

```typescript
[LightEvent.SET_ATTACHED_TO_ENTITY]: {
        light: Light;
        entity: Entity;
    };
```
