On all sprites of kind

Is there a way to say ¨On all sprites of enemy kind destroyed¨?

There is a block in the “lifecycle” section of the Sprites category that should do the trick. It reads “on destroyed sprite of kind player”.

1 Like

There isn’t an event block for what you describe. It’s a pretty common thing to check, though. This is how I typically handle it:

You also could put that logic in an on update loop if your sprites can be destroyed by other means (e.g. if they are destroyed when they leave the screen).