> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/aurora-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/aurora-engine/weapon/audio-event.md).

# Audio Event

This component is used to play sounds from animation events.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McFHcIabaqYuo3wNUaq%2F-McFQXIc53JoeVWh9WsJ%2Fimage.png?alt=media\&token=c8eb044a-af15-4c65-b6fe-bc4e614af794)

{% hint style="info" %}
When you add this component, it will automatically add the **Audio Source** component.
{% endhint %}

In order for the sound to be played, you need to add a function called **PlaySound** at a certain moment of the animation.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McFHcIabaqYuo3wNUaq%2F-McFQCts41i7Qxt7F-hT%2Fimage%20\(24\).jpg?alt=media\&token=df7e678c-2fc6-451a-b989-2b352f07bfcf)

You also need to specify the sound you want to play in the **Object** field.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McFHcIabaqYuo3wNUaq%2F-McFQBIe1VsyxM9JQ6VJ%2Fimage%20\(25\).jpg?alt=media\&token=6944e0b3-603e-4297-983a-78d88fb198e2)
