Using mouse in a 2d platformer- turning

Hey, I have a 2d platformer where the way the character is facing a certain way is dertermined by the position of the mouse. I had a blueprint script defining the way that the player would face based on the mouse, but it didn’t work. Is there a way I could flip the player based on mouse position?