I'd like to know how to do this

I want my enemies to turn to face the player when they spawn, so that they all go towards the middle, but so far, I can only make all of them turn.
Here’s my game- https://flowlab.io/game/play/1370921

I think you might need to make two different objects that both do the same things, except one is facing left and one is facing right. Right now you’re making it so that the pig turns to the left no matter what side they are on of the player.


Try Extracting the Player X and subtract it the This X in the enemy.
If its positive, make it face right. If its negative, make it face left.
(Actually, just message the Enemy “This X” from the player. Extractors doesn’t work with different named objects.)

In Player: