In Sprites:

Section Lifecycle:

There is the on destroyed sprite of kind {Kind}.
There is an extension by @jwunderl called arcade-sprite-util, which you can import with this URL:
As the description says, it has a few utility functions for sprites, and is especially helpful if you don’t want to deal with trigonometry as it abstracts some of that too.
The first block in the
Sprite Utils category returns a boolean depending on whether a sprite is destroyed or not.
SHAMELESS SELF PROMOTION
I have made a GitHub repo which lists a bunch of extensions like Joey’s here. I try to update it with new extensions ASAP but it’s often behind because I’m busy. ![]()
