# \_rotate to mouse

**URL:** https://forum.kirupa.com/t/-rotate-to-mouse/162200
**Category:** flash
**Created:** [September 10, 2005, 6:32pm UTC](https://forum.kirupa.com/t/-rotate-to-mouse/162200 "2005-09-10T18:32:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JayBird](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JayBird](https://forum.kirupa.com/u/JayBird)
#### Post date: [September 10, 2005, 6:32pm UTC](https://forum.kirupa.com/t/-rotate-to-mouse/162200/1 "2005-09-10T18:32:30Z")

</div>

i am trying a sword thing where when the mouse moves to the right then the MovieClip \_rotate+=5. and when it moves to the left: \_rotate-=5.

any help?

Also here’s what i got so far:

onClipEvent (load) {  
startDrag("", true);  
}

the AS is not gonna be much help lol.  
I was thinking of a  
onClipEvent (mouseMove)  
if …
