How to rotate a pawn character to cursor topdown shooter

I am still getting used to the enhanced input system and I wanted to know how I could make the pawn rotate to where the cursor is in UE5.3