It's very Simple =)
+ Enemy1: Is Pathfinding moving along path
----+ Enemy1: X < Player.X
-----> Enemy1: Set animation to "Left" (play from beginning)
----+ Enemy1: X > Player.X
-----> Enemy1: Set animation to "Right" (play from beginning)
Hope it helps =)