Character stops after triggering an animation

I’m totally new to UE and I’m struggling to make the enemy attack me after I trigger an animation.

What I want is:
When I overlap a trigger (Box Collision) the enemy that I placed comes out and after an animation, it comes to my direction.
I succeeded in play the animation after overlap, also make the enemy comes to my direction only when I overlap. But when I try to make it come to my direction after the animation, it stops in the last frame of the animation.

Tried to use montage, AI with nav mesh but got the same result. If someone knows where and how to fix it I’d be grateful!


It is not an error or bug. This is how Play Animation works.

You can try to play another animation manually when the animation finished, or you can try to make an animation blueprint using state machine to control your animation.

Thanks for the reply!
I see, so play animation is not ideal in this case…

The character is already using an animation blueprint with state machine, so when I remove the “Play animation” and trigger the nodes attached, it moves perfectly towards the player.

I still can’t figure out how I can make it run some different move before it starts running towards the player when reached a specific place in the level.
Maybe I’ll try to add the animation before the state machine in the ABP?

Animation Montage might be what you are looking for.