Help with gun/arm rotation?

Hello! I am currently making a game that needs to have the player’s arm follow the mouse and rotate to look at it, as well as flip when it reaches above 90 degrees. The issue I am having is that if the player is facing to the right it works perfectly, but if he faces to the left it’s as though the arm gameobject flips its transform and points the wrong way. Can anyone help at all with this? Thanks in advance!

Can you show us some code? :slight_smile: