Enemy sprite rotation like in Classic Doom

Must be your engine version, I’m on 23.

Then you have to do it with dot product, hold on.