I have lots of instances of the same object and when 2 overlap and both have the same matching variable i want to destroy them. If the variables don't match i don't want anything to happen.
I've tried multiple different variations of this sort of thing
sprite overlap sprite
sub event - for each sprite
+ sprite variable = 1
This works however it still destroys 1 sprite if it has the correct variable and the other doesn't. How do i check both instances during the overlap?