# How do I change the game over sound?

**URL:** https://forum.makecode.com/t/how-do-i-change-the-game-over-sound/12798
**Category:** Help
**Created:** [March 21, 2022, 4:39pm UTC](https://forum.makecode.com/t/how-do-i-change-the-game-over-sound/12798 "2022-03-21T16:39:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)
#### Post date: [March 21, 2022, 4:39pm UTC](https://forum.makecode.com/t/how-do-i-change-the-game-over-sound/12798/1 "2022-03-21T16:39:53Z")

</div>

Whenever you lose in my game, it shows the game over screen and plays that really annoying “Bwah, bwah, BWAAAAAAAAAHHH…”, and I would like to change it to something a little less annoying. Is there any way to do this?

---

<div class="post-metadata">

### Author: ![fd268](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fd268/32/35044_2.png) [@fd268](https://forum.makecode.com/u/fd268)
#### Post date: [March 21, 2022, 10:52pm UTC](https://forum.makecode.com/t/how-do-i-change-the-game-over-sound/12798/2 "2022-03-21T22:52:07Z")

</div>

You mute the sound player in the music tab then this  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/db85ad1b0d77bf1962b44f80c84b0b6af0f2cae5.png)

(you need a wait or else it won’t work)

---

<div class="post-metadata">

### Author: ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)
#### Post date: [March 22, 2022, 4:29pm UTC](https://forum.makecode.com/t/how-do-i-change-the-game-over-sound/12798/3 "2022-03-22T16:29:42Z")

</div>

The source shows an exported `game.setGameOverSound` function, but I haven’t checked if that’s available in the current version.

> <https://github.com/microsoft/pxt-common-packages/blob/master/libs/game/game.ts#L159>
