Thanks for doing this and
Magistross your example was great.
I have a slight addition to add to this. in my case i want to be able to click one of those boxes and idenify it. since it's the same "object" all of the boxes are the same box with different colors..
my goal would be to say have it where it tells me to pick the color from the same pool of colors.. so if it said click the red one, how would i know i'm clicking the red one or if i clicked the wrong one? it doesn't seem like the frame of animation (what determines the color) would be an identifiable parameter.. my other thought was maybe having an instance variable that would grab the random number, but this loop is happening so fast i'm not sure if it would work like that. Any suggestions?
Thanks,
Caleb