Changing background music for Game Lab

A student wants to have background music at the start of their game, and then change the music when the player’s health drops below a certain level. We are not able to get the original song to stop playing. The kids have tried playing the sounds with a conditional checking the health. It’s just not playing the songs at all. Any ideas how to accomplish this?

Greetings @sdiaz,

There is a stopStound(); block in code.org.

If you want an example on how to implement this, here:

var health = 100
var player = createSprite(200, 200)
player.setAnimation("player");

function draw() {
  if (health >= put_level_here) {
    stopSound("sound URL here")
  }
  drawSprites();
}

~ Pluto