> For the complete documentation index, see [llms.txt](https://bennykok.gitbook.io/rhythm-game-starter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bennykok.gitbook.io/rhythm-game-starter/playing-your-own-song.md).

# Control Song Play / Pause

There are multiple ways to play your own songs.

### Playing a song on awake

1. Set Play On Awake to true in `SongManager`
2. Assign a Default `SongItem`

![](https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Frhythm-game-starter%2F-M77mUOMVMimR0SwIx0Y%2F-M77pUz6BpcLEMkZhJk4%2F48.png?generation=1589286143581536\&alt=media)

### Playing songs from UI Button

1. Find the Play Button in the scene
2. Switch the `PlaySong` function to the one lets you pass in a `SongItem`
3. Assign your own `SongItem` to the parameter slot

![](https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Frhythm-game-starter%2F-M77mUOMVMimR0SwIx0Y%2F-M77pUz7S7rx5kmRZQg_%2F49.png?generation=1589286143598346\&alt=media)

![](https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Frhythm-game-starter%2F-M77mUOMVMimR0SwIx0Y%2F-M77pUz8MG3fprjuBX8E%2F50.png?generation=1589286143570137\&alt=media)

### Playing a song via code

For playing a song through code, please head over to the `SongManager`

{% content-ref url="/pages/-M78YKzqudKWFYd5hC1t" %}
[Song Manager](/rhythm-game-starter/hierarchy-overview/song-manager.md)
{% endcontent-ref %}
