# Audio

The **Audio** action allows you to trigger any action related to audio.

{% embed url="<https://youtu.be/YZ8afUQvtQU?si=n1rBpluc9Hy6pNWd>" %}

The Audio action includes the following parameters:

* **Action:** `Play`, `Stop`, `Pause` or `Mute` an audio.
* **Audio source:** by default here you have the Audio Source of your root (IO), however if you want to choose another one (maybe you have more than one Audio Source or you have objects inside with their own Audio Source), just drag it here. To read about Audio Sources, click [here](https://docs.unity3d.com/Manual/class-AudioSource.html).
* **Volume:** define the volume of your audio (value ranges from 0 to 1).
* **Loop:** for a single clip it will play it in loop, for a list of clips you can choose to loop the **whole list** or loop only **the last clip** after playing the whole list.
* **Playlist:** set here how to read a list of clips, either in the **order** they were added or in a **random** order.
* **Fade In:** check this if you want your clip to fade in at the beginning.
* **Fade Out:** check this if you want your clip to fade out at the end.
* **Change pitch:** check this to change the pitch of your clip using a slider with values from 0.5 to 3.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unity.zoeimmersive.com/adding-interactivity/interactions/actions/audio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
