Pause Music

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

1 Like

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

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

1 Like

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.