# About \_rotation

**URL:** <https://forum.kirupa.com/t/about--rotation/750>\
**Category:** Uncategorized\
**Created:** [July 29, 2002, 2:55am UTC](https://forum.kirupa.com/t/about--rotation/750 "2002-07-29T02:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paopei](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@paopei](https://forum.kirupa.com/u/paopei)\
**Post date:** [July 29, 2002, 2:55am UTC](https://forum.kirupa.com/t/about--rotation/750/1 "2002-07-29T02:55:40Z")

</div>

i have a problem again, this is about method \_rotation.  
i have attached a script as following in certain movie clip.

onClipEvent(enterFrame){  
myMovieClip.\_rotation = 50;  
}

when i test my movie, myMovieClip doesn’t rotate as i expected. so how is the solution ? please help me…:ninja:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2002, 3:10am UTC](https://forum.kirupa.com/t/about--rotation/750/2 "2002-07-29T03:10:39Z")

</div>

I think you want…

```auto

onClipEvent(enterFrame){
myMovieClip._rotation = myMovieClip._rotation +5;
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2002, 12:21pm UTC](https://forum.kirupa.com/t/about--rotation/750/3 "2002-07-29T12:21:11Z")

</div>

Yep. It also depends on where myMovieClip resides.

If myMovieClip is the clip you’re trying to rotate, try:

…  
this.\_rotation = this.\_rotation +5;  
…

If myMovieClip is a different clip, you’ll need the full path to it. Assuming it’s on the main timeline:

…  
\_root.myMovieClip.\_rotation = \_root.myMovieClip.\_rotation + 5;  
…

-Karen
