When a sprite becomes mirrored (using the mirror event) The angle of the sprite does not become mirrored.
I'm having this sprite setting it's angle towards the mouse cursor (set position X to Mouse.X & position Y to Mouse.Y)
so basically the characters arm(holding a gun) points towards the mouse, but when I mirror the character and his arm (in order to simulate the player turning to his left after facing right) the arm sprite flips but the angle doesn't. Making it so that when the player is facing left, the players gun points towards the opposite angle of where the mouse is.
I don't know the math to "reverse" the angle so that it the gun can point towards the mouse even when a sprite is flipped.
Can anyone help me?