How can i make an array pick random and unique elements?

Sorry but i really cannot figure it out, where am i wrong?

So i’ll explain how i see this. I make an array, then shuffle it. After that i start a for loop from 0 to 4, and set a new array with a get connected to the index in order to get them in their respective index order after shuffle. Then i “convert it to an array?”, and add that to the new array. The final print is testing purposes, and obviously im wrong in this example because it’s not working. I think the problem is the get, which doesn’t seem to do exactly what i want, but i can’t seem to find any other node that works better.

1 Like