Tween opacity of multiple objects at the same time

I’m trying to add opacity fade out after enemy is dead, and it’s working with a tween, but there is a problem when I kill an enemy before another enemy’s tween has finished playing.

This is what I’ve got so far:

  • if animation is “Dead” activate the tween to fade out opacity and delete the object when tween is finished - works as expected.
  • but if I kill an enemy while the first tween is still playing, the tween won’t activate anymore for any of the subsequent enemies killed.

The event:

I was trying to add some conditions for when the tween is still playing or finished playing etc. but can’t seem to make it work.

Can instead of “Trigger once” you try “Tween is not playing”


I think you just fixed it, thanks! :smile: