How to make the Arms of my character rotate to the mouse ?

I want to make a MetroidVania type of game. I need a way to rotate the arms of my character to the mouse position. I already set it up so my arms can rotate i just need the math now.

Did you try using the ConvertMouseRotation to world space and try to do it using that ?

no i just the math required to rotate the arms to the mouse cursor