Thanks a lot for your answer!
But I think I did not explain myself well enough.
I have an image at the center of my screen and i want it to rotate a little bit at the left when my mouse goes on the left of the screen and on the right when my mouse goes on the right of the screen. I also would like the rotation effect to follow the position of my mouse (the more the mouse goes on the left, the more the image rotates)
I don't know if i made myself clear ?