Thank you for the quick response. I've tried another way, instead of using an Array, because it was the same problem. I've tried again with your information (Thx again). But I still have the same problem.
Maybe I'll go over step by step:
Created A Family with 32 different sprites (cards)
When Clicked on "Kaarten Schudden" (Button) The Array picks a random number to start dealing from.
When Clicked on "Kaarten Delen" (Button) Then the game should deal 3 cards to 4 four places, then 2 cards to 4 places and then again 3 cards to 4 places. Card placing for 4 players is ok.
Random start card is also no problem, but dealing all the different cards is a problem.
I've tried with the array, without the array, with boolean, without boolean. It won't work.
When I add a condition that has to do with the cards, the game won't deal.
Would it be possible to upload an example of what you mean? Because I don't completely understand what you are saying.
Thx in advance