here is a sprite named "hero1", and I created "hero1" many times in the same layout.
all the heros will move from one position to another position.
my desired effect is:
when two hero overlap, check the hero.Y, and dynamically change their z-order. how to do this?
thanks a lot.