UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

16 lines (10 loc) 434 B
<!-- 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.SPAWN"](./server.lighteventpayloads._light.spawn_.md) ## LightEventPayloads."LIGHT.SPAWN" property Emitted when a light is spawned. **Signature:** ```typescript [LightEvent.SPAWN]: { light: Light; }; ```