How can I create a random playlist?

Hi everyone, I have about ten audio tracks of songs and I would like to create a random playlist as soon as the scene starts, so that when one song ends, another randomly starts automatically. Does anyone know how to do? A thousand thanks :slight_smile:

Perhaps try using variables. So assign each track a variable and name them 1,2,3 etc. And then use change variable: RandomInRange(1,10). And add when a track ends bring variable back to zero. So essentially when a song ends play another random one. So basically use variables and RandomInRange.

2 Likes

What dukesilver mentions above is how Iā€™d do it, and actually how most randomize buttons work on app playlists, too.

1 Like