How to rotate a Pawn using a Mouse (2D Game)

I am trying to rotate my Pawn to face my mouse by rotating it’s Z-axis. I thought I could use ArcTan2 to calculate the angle. Here’s what my script looks like so far:

When I run this code, my Pawn will only rotate 180 degrees and will not face my mouse most of the time. Can someone help me understand what’s wrong with my script?