Maybe you can do like this :
for each "sprite2" is overlapping "sprite" ~> destroy
That will destroy all sprite2 overlapping with sprite1. Besides, it don't need for loop to do the same thing.
I want to create UI. Let say bar, close button, panel, etc pinned to one window title. And when the window title destroyed, every items pinned to that will also destroyed, but I don't use container because there will be many kind of UI using the same asset to save filesize and event (it's free edition :v).
Thanks for the answer.
this is my capx file
dropbox.com/s/mh072xom9h198 ... .capx?dl=0
EDIT:
Hey but that gives me an idea.
It works but It still feels weird though