# Pause Music

**URL:** <https://forum.makecode.com/t/pause-music/38079>\
**Category:** Help\
**Created:** [July 15, 2025, 5:39pm UTC](https://forum.makecode.com/t/pause-music/38079 "2025-07-15T17:39:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobAJoeJoe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bobajoejoe/32/21776_2.png) [@BobAJoeJoe](https://forum.makecode.com/u/BobAJoeJoe)\
**Post date:** [July 15, 2025, 5:39pm UTC](https://forum.makecode.com/t/pause-music/38079/1 "2025-07-15T17:39:48Z")

</div>

I’m trying to make it so when I press a button, it pauses the whole game.  
I tried at first to use the tempo changing block at first but that didnt seem to work so I’m kinda stuck now.

Heres a link to the project: [https://arcade.makecode.com/S31778-94149-51879-10668](https://arcade.makecode.com/S31778-94149-51879-10668)

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [July 15, 2025, 8:23pm UTC](https://forum.makecode.com/t/pause-music/38079/2 "2025-07-15T20:23:14Z")

</div>

The tempo block is only for music, not the entire game. Try using the Pause Until block in loops.

---

<div class="post-metadata">

**Author:** ![BobAJoeJoe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bobajoejoe/32/21776_2.png) [@BobAJoeJoe](https://forum.makecode.com/u/BobAJoeJoe)\
**Post date:** [July 16, 2025, 9:49am UTC](https://forum.makecode.com/t/pause-music/38079/3 "2025-07-16T09:49:43Z")

</div>

I meant the whole game including the music, sorry for not making it clear enough

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [July 16, 2025, 5:06pm UTC](https://forum.makecode.com/t/pause-music/38079/4 "2025-07-16T17:06:58Z")

</div>

Yeah I mean the tempo will change tempo for only music.

The pause until, if you have, for example,

On Menu button pressed:  
pause until: menu button pressed

Then that will pause the entire game.
