How do I make a shuffle function?

For example, in the music player Apple Music you can see this icon. By clicking on it, a random song is played. I need help

You can make it like this :

blocks

1 Like

See the 5th link in

@Murad_Eyvazli
if your problem has been resolved please close this topic by pressing the Solution button, so other people who want to make a shuffle function can learn from your topic. Thank you :kissing_heart:

Why not use the built in Pick a Random Item from list block - lists_pick_random_item

2 Likes

I forgot about that :sweat_smile:

Shuffling Lists

There is a plugin for this