# How to make circular menu rotate towards the cursor?

**URL:** <https://forum.kirupa.com/t/how-to-make-circular-menu-rotate-towards-the-cursor/196760>\
**Category:** flash\
**Created:** [August 10, 2006, 7:14pm UTC](https://forum.kirupa.com/t/how-to-make-circular-menu-rotate-towards-the-cursor/196760 "2006-08-10T19:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mj54321](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mj54321](https://forum.kirupa.com/u/mj54321)\
**Post date:** [August 10, 2006, 7:14pm UTC](https://forum.kirupa.com/t/how-to-make-circular-menu-rotate-towards-the-cursor/196760/1 "2006-08-10T19:14:12Z")

</div>

I build a circular menu with buttons sitting within concentric circles (a very simple layout can be seen in the attached file). I would like to be able to program it in such a way that - every time you roll over one of these circles - the button that’s sitting on this circle would rotate towards the cursor and align itself with the cursor’s current position. I only need for it to happen whenever the cursor is over the circle area.

I can do these “cursor follower” type of effects for items that move in linear manner, but this circular motion leaves me completely puzzled… ☹

Any help is greatly appreciated, any advice, or direction towards some sort of tutorial, if such thing exists…

Thanks!  
Mark
