Main Menu Music Scripting?

Hi,

I am trying to implement music with my main menu screen. I had found a way to play the music on event begin play but cannot find a way to stop the music once the game/level has started…

Here are my blueprints where I believe the music should go (MainMenu blueprint and Level blueprint). Please could someone help?

Thanks!

This post might be what you are looking for: Play a sound when key is pressed, stop when no longer pressing

Thanks for the reply. I had seen that before, however, I cannot get this to work with my main menu, I think it has something to do with the fact the game is paused? I cannot find a way to set UI sound on the audio component. Any ideas?

Thanks!

You could bring up a function to stop the music when the level plays.