hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
17 lines (11 loc) • 561 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [AudioEventPayloads](./server.audioeventpayloads.md) > ["AUDIO.SET\_ATTACHED\_TO\_ENTITY"](./server.audioeventpayloads._audio.set_attached_to_entity_.md)
## AudioEventPayloads."AUDIO.SET\_ATTACHED\_TO\_ENTITY" property
Emitted when the audio is attached to an entity.
**Signature:**
```typescript
[AudioEvent.SET_ATTACHED_TO_ENTITY]: {
audio: Audio;
entity: Entity | undefined;
};
```