UNPKG

hytopia

Version:

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

17 lines (11 loc) 489 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.SET\_COLOR"](./server.lighteventpayloads._light.set_color_.md) ## LightEventPayloads."LIGHT.SET\_COLOR" property Emitted when the color of the light is set. **Signature:** ```typescript [LightEvent.SET_COLOR]: { light: Light; color: RgbColor; }; ```