Enemy rotate after die

Enemy still rotate follow user after die.

I shoot enemy die like this.

when I move player to another location then enemy also rotate like this.

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“medium”,“data-tempid”:“temp_141261_1530298043730_205”}[/ATTACH]

I create death function like this
.

And I use death function in Event graph like this.

How to fix this problem to set enemy not rotate after die ?

Hi, you should put a check before ‘AI Move to’ telling it to check if enemy hp > 0 (isalive?) , if false ( that is enemy hp <0 ), then it should not rotate towards the player anymore once dead