I have a title screen that starts playing music but when i want the music to stop playing i am not in the title screen and i can't figure out how to stop the music. i have tried
no errors occur but the music does not stop.
if(player != null)
{
Title.main.bg.pause();
Greenfoot.setWorld(new Fight());
}

