hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
17 lines (11 loc) • 549 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [LightEventPayloads](./server.lighteventpayloads.md) > ["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;
};
```