Pause multiple sounds

I made multiple buttons which will play different sounds when a button is clicked. But, when I click a button, the sound plays but when I click another button, the previous sound overlaps with the current sound for the second button that I clicked. How can I pause multiple sounds at a time when I click a button and then another button?

Are you using the Player Component?

If so, my suggestion Is to use 1 Player Component and change the "Source" as needed.

1 Like

An example (as per Ken’s description):

PlaySound

3 Likes

component? is it like a list of the sounds?

Or try this:

grafik

1 Like

No, it’s the component that plays the sound that you set for it. Just like a record player (if you ever saw one). You wouldn’t fill your house with 100 record players to play 100 records, you would just use one record player.

RecordPlayer

2 Likes

Thanks