How do i delete this object

I have a simple idea but i can’t do it for some reason. I will explain

character hits enemy > create object children + create object puff + delete enemy > delete puff after animation over

I tried this logic put it looks like something is wrong because gdevelop doesnt delete the puff and i have an object “hanging” on the canvas

Try placing this event here

Thank you for your reply but doing like you said it only works if i hit other enemy.

seems you tried to use a higher hierarchy already?
Try For each puff