> For the complete documentation index, see [llms.txt](https://man572142s-organization.gitbook.io/broaudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://man572142s-organization.gitbook.io/broaudio/core-features/no-code-components/sound-source.md).

# Sound Source

This component is similar to Unity's AudioSource, designed solely for playing sound.

<figure><img src="https://886210201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfI79StJ3o7OKZxf9vHhb%2Fuploads%2FetbLnNfS8o52keSQggeb%2FUnity_G7QHvYRN1u.png?alt=media&amp;token=3bc07947-f890-4555-ba72-254cb0c9905a" alt=""><figcaption></figcaption></figure>

## Play On Enable

Check this box to automatically play the sound whenever the GameObject is enabled.

**Only Play Once:** Plays the sound only the first time the GameObject is enabled.

## Stop On Disable

Check this box to automatically stop the sound whenever the GameObject is disabled.

**Override Fade Out:** Check this box to override the fade-out time setting when stopping the sound on disable.

## Sound

The sound to play. You can select the required sound via the dropdown menu.

## Position Mode

Determines the sound's location when triggered.

* **Global**: Plays globally (2D), meaning the sound can be heard everywhere.
* **Stay Here:** Plays as a 3D sound and stays where the GameObject is located.
* **Follow Target:** Plays as a 3D sound and follows the GameObject as it moves.
