# Help!11

**URL:** https://forum.kirupa.com/t/help-11/21482
**Category:** Uncategorized
**Created:** [May 22, 2003, 1:35am UTC](https://forum.kirupa.com/t/help-11/21482 "2003-05-22T01:35:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alcapone172](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@alcapone172](https://forum.kirupa.com/u/alcapone172)
#### Post date: [May 22, 2003, 1:35am UTC](https://forum.kirupa.com/t/help-11/21482/1 "2003-05-22T01:35:29Z")

</div>

How do i make an object rotate?[SIZE=3]15[/SIZE]

---

<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: [May 22, 2003, 1:48am UTC](https://forum.kirupa.com/t/help-11/21482/2 "2003-05-22T01:48:30Z")

</div>

im not sure how to make an object rotate 15 :P, but to make a movie clip rotate, add the following code to a frame on your timeline:

(where myClip is the instance name of your movie clip)

[AS]myClip.onEnterFrame = function() {  
turnSpeed = 2;  
this.\_rotation += turnSpeed;  
};[/AS]

next time, use the nifty little search button to find out if your question has been asked before. it’s lonely… it wants to be pressed…

---

<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: [May 25, 2003, 1:11pm UTC](https://forum.kirupa.com/t/help-11/21482/3 "2003-05-25T13:11:21Z")

</div>

an easier way to that would be something like this:

```auto

myClip._rotation = myClip._rotation + 1;

```

or any speed you want the higher the faster it will spin:nerd:
