I present the following problem, I have an enemy that I want to turn towards the position where the player is, but I do not know that making the npc object knows which side to look at, the game in question is as if it were mario bros and not a top down game. my question is:
What method do you know to make the npc know which direction to look at?