During the course of my game, I will have plenty of sprites being spawned on top of other sprites (ie. if you set an enemy on fire, spawn fire sprite. if an enemy detects you, spawn ! sprite). Normally when I destroy a sprite, I can use a "On Sprite1 destroyed - if sprite1 is overlapping sprite2, destroy sprite2" and it works. But what do I do if sometimes multiple instances of Sprite1 will be overlapping each other (which is always a random occurrence)?
All of the sprites I spawn are pinned 99% of the time. Is there an event to check if an item is pinned to another object? (if I use Sprite2 is Pinned, it destroys ALL of them in the layout)