How do I write the conditions to select only the topmost sprite object when they happen to overlap? My code at the moment is On Touch sprite object destroy. So, when two different moving sprite objects happen to overlap, I only want to select the topmost sprite and destroy it. With my present code, both overlapping sprites are destroyed.
Any help given will be much appreciated.