i need to stop sounds from many source

there is a WBP with alot of buttons , each one play a looping sound but if player hit another button previous still playing , i need some sort of function to get all sound and stop them befor playing a new one (since player can use these buttons randomly i cant use stopSound)

Hello and welcome! There are many logic ways that you can achieve that (like saving previous sound to a variable), but in my opinion the easiest way is to just use SoundConcurrency:

Inside it just change MaxCount to 1 and Rule to StopOldest:

Then make sure, all those button sounds use this concurrency.

1 Like

Hi,you could create an actor to hold all sound sources. add audio components to the actor.
quick example:

1 Like

it cant work any better ! , tnx