UNPKG

hytopia

Version:

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

17 lines (11 loc) 510 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityEventPayloads](./server.entityeventpayloads.md) &gt; ["ENTITY.SET\_OPACITY"](./server.entityeventpayloads._entity.set_opacity_.md) ## EntityEventPayloads."ENTITY.SET\_OPACITY" property Emitted when the opacity of the entity is set. **Signature:** ```typescript [EntityEvent.SET_OPACITY]: { entity: Entity; opacity: number; }; ```