How do I flip an object in a top-down game?

Hello, I’m wondering how do I flip an enemy towards the player’s direction? I know that its easier on a platform game because all you have to worry about is the x axis but I couldn’t find any tutorials regarding top down shooters.

For a top-down game, I believe you might want to use “rotate towards angle” or “rotate towards object” or something.

If it’s a tutorial you’re looking for, here’s one that might help:
https://wiki.gdevelop.io/gdevelop5/tutorials/tank-shooter/