Flip Enemy, always facing Player

hey Guys:),

How can i make, the enemy is facing then Player? For example… when the player is left from the enemy, enemy is flipped and when the player is right from the enemy, enemy is Not flipped.

I found a primitive and circumstantial way to do it. But i think there is a smarter Way!
My way was to make Two squares and set them to the midle of the enemy. when the player collides with Square 1 “do flip”, when player collides with Square 2 , “do not flip”.

is there any smarter/ other Solution?


1 Like

I use this events for NPCs and Enemies


Thanks a lot! Works perfectly! I adapted the X values, to my sprite:)

1 Like

How about this scenario?

Great stuff! I tried a version of it and I worked perfectly! Thanks!