MouseLook script that points +Y at mouse and rotates on Z

Hi,

I think my title is descriptive enough. All the many mouse look scripts i have found rotate the gameobject on Y, and +Z points at the mouse. Maybe I’m stupid but in my 2d game I cannot get a mouselook script to work that rotates the gameobject on Z, and +Y or even +X points at the mouses position.
Keep in mind all of the axis are relative to the character. And the characters -Z points at the camera.

I do hope that was not to confusing as I really need a solution, My brain is empty!

thanks

Make your object face its local +Z. Wrap it in another Transform if you can’t change the model. “LookAt” means point-Z-at in Unity. Don’t fight that.