`Tween has finished playing` never fires

How do I…

I would like to be able to trigger actions after a tween has finished playing.

I have set a tween with a key name "aiming". And the finish playing condition never fires. When I console log the progress of the tween out, I always get 0. And I’m expecting it to reach 1 for the finished state.

The full script is below, where the tweening is triggered inside of the The animation of enemies = "aiming" sub conditions.

It looks like the tween is being restarted on each frame. It will never finish.

The tween start action needs a trigger once or some other condition like a boolean variable or animation or angle check. Anything that only happens once per shot.

2 Likes

Thanks so much for your reply!

Just as you suggested, moving the start of the tween to a cell that only fires once fixed it :slight_smile:

Here’s the changed event sheet for future reference:

1 Like