Hello @ataribox007 ,
What exactly is the PlayerStart_Blueprint? Either way, this shouldn’t be an issue, since you should be able to stop the sound from another Blueprint as well.
Although, as @lucas_kokku mentioned above, IA_PauseSound could be implemented in the Player Controller, it should also work correctly from BP_ThirdPersonCharacter.
You can try the following:
First, create an IA_Pause. For this example, I’ll call it IA_PauseSound. Make sure to enable Trigger When Paused, since we need the Input Action to keep detecting the input even when the game is paused.
Then, add it to your IMC_Default or whichever IMC you’re currently using, and assign it to the key you want. Under Triggers, add Pressed.
I recommend using this setup because it’s a good Enhanced Input practice: it allows you to define different behaviors and conditions for the same key, depending on the Input Action it’s associated with. This gives you more flexibility when managing your inputs.
When you want to stop the sound, add an Is Valid node before calling Stop. This way, you make sure the audio reference is valid before trying to stop it.
With this setup, it should work correctly.
If it still doesn’t work, could you show a bit more of where and how you’re creating the sound?
It would also be helpful to know whether you want the sound to pause when you open the pause menu and resume when you return to the game, or if you want it to stop and be destroyed permanently, or what exact behavior you’re trying to achieve.
Another thing that comes to mind is that you might be calling this sound multiple times, meaning that when you call Stop, you’re only stopping the most recently created instance.
Hope it helps!