For your code game you could have all your numbers as one object, and just have the different groups be an instance variable that separates them. So you could have one sprite with 3 animation frames. and copy it 3 times and give one instance variable 'GroupName' A, then B for you second copy, and so on. Then in your code you can just change the animation frame instead of deleting and creating a new object each time. Then with tokenat you can evaluate if Sprite Group A Current Frame = tokenat at index 0. Then check group B frame at index 1, and so on. Let me know if you still don't understand
as Somebody mentioned a tokenat is basically a one dimensional array. You can store a list of items and have them separated by a character. Let's say you made a list of your friends name
You could find out who the 3rd person on the list is by using tokenat.
You could do tokenat("Jon,Michael,Ben",2,",")
This would return "Ben"
You just have to remember that just like arrays tokenat has index 0. So the first name is at index 0 and the second name is at index 1, and so on.
The seperator is just what it says. You tell tokenat what you used to separate your list. So in the example "Jon,Michael,Ben" we used a comma to separate our names. So we let tokenat know that every time it sees a comma that its beginning the new index, in our case new name.