Play One Random Sound from a List


the circled block plays all sounds in a list when the NAZ button is pressed. I want to fix this and only play one random sound from the list. Can anyone help with the code blocks to achieve this?

generally do you want to play several sounds at the same time?
Taifun

hi! no, I would like only one sound from the list to play.

Use only one player component
Set the source accordingly before playing a specific siund
Use the pick a random item block and set the source to a random sound
Taifun

I ended up just making a button for each sound which was easier to make instead of one button playing random. Thanks for replying and reaching out.