How do I make it so another sprite runs in the oppisite direction of the player

One technique is for the other sprite to point towards the player sprite

Then turn 180 degrees so it's facing away from it

then move