I'm trying to make it so that if more than one enemy are perfectly overlapped with each other, a bullet will only hit the enemy that has the highest Z order.
I already have the enemies in a family, and I have a feeling it's a pretty simple solution, but I don't know a lot about this program and not sure how else to look this up.
Thanks