Drag n' Rotate MC

Hi all,
I’m thinking of creating a ruler (as a MC), and the user can drag it by click on it, and also rotate it IF the mouse click on a specific button (which is located on one end of the Ruler)…
So far I’m fine with each function separately, but not as both at the same time… wondering if any of you guys have any lead for me?

Thanks!