Move the cursor over the button and its coordinates compute rotateX/rotateY