# Have a mc rotate on itself

**URL:** <https://forum.kirupa.com/t/have-a-mc-rotate-on-itself/98460>\
**Category:** Uncategorized\
**Created:** [January 7, 2004, 2:13pm UTC](https://forum.kirupa.com/t/have-a-mc-rotate-on-itself/98460 "2004-01-07T14:13:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daw0lverine](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@daw0lverine](https://forum.kirupa.com/u/daw0lverine)\
**Post date:** [January 7, 2004, 2:13pm UTC](https://forum.kirupa.com/t/have-a-mc-rotate-on-itself/98460/1 "2004-01-07T14:13:40Z")

</div>

Hi everybody,

I have a mc that I need to be rotating on itself every other frame, so I did something like this on the MC :

[AS]  
onClipEvent(enterFrame)  
{  
this.\_rotation += 8;  
}  
[/AS]

The thing is that it rotates aroung its upper left corner. So how do I specify that I want it to rotate from the middle of the MC ?

Once again, thanks in advance
