Detecting Movement Direction


#1

I am making enemies in my game that use the pathfinding behavior to follow the player, but it is a top-down game, so they need to detect the direction the enemy is moving, and switch to the animation for that direction. I’ve tried using the “Angle of movement” condition, but that doesn’t seem to do anything. Anyone know how to do this?


#2

#3

Ok, I’ll try that! Thank You!