I have a family of sprites, and an event to spawn 2 random members on the screen. As the family spawn object is a random selection, I sometimes get 2 of the same sprite. Is there a way I can check / compare both sprites, and if they are the same do one thing and if not do another.
I�ve tried creating a family variable, and making this different for each sprite. I then compared these variables to see if they match. But this doesn't seem to be working (although I may not have written it correctly!)
Any help would be much appreciated. And thanks for taking time to read this.