There is no stop all sounds in sprite code block in scratch, so I have additional music in the backdrop sound tab so you can play during the project, even in fullscreen. To do music in project, go to the sound tab in the backdrop coding and press the play button. You have to start at attempt 1 to the final attempt.