# Music Player Config

## Creation

To create a music player config, find (or create) the *GameName/Resources/GameName/InteractableOptionConfig* folder in the project tab and right click.  Choose *Create > AnyRPG > Interactable > MusicPlayerConfig*.

## Properties

| Name                | Description                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Audio Type          | <p>The type of sound to play.  This affects which audio source will be used.<br><strong>Music</strong><br>The sound will be played through the background music audio source.<br><strong>Ambient</strong><br>The sound will be played through the ambient sounds audio source.<br><strong>Effect</strong><br>The sound will be played through the sound effects audio source.</p> |
| Audio Profile Names | A list of the names of [Audio Profiles](/scriptable-objects/audio-profile.md) that contain lists of audio clips that can be played.                                                                                                                                                                                                                                               |

## Next Steps

* Add a music player config to an Interactable to allow opening the music player window.


---

# 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://docs.anyrpg.org/scriptable-objects/interactable-option-configurations/music-player-config.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.
