# Scripting Rotation

**URL:** <https://forum.kirupa.com/t/scripting-rotation/22977>\
**Category:** flash\
**Created:** [June 11, 2003, 10:05am UTC](https://forum.kirupa.com/t/scripting-rotation/22977 "2003-06-11T10:05:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkfx](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@darkfx](https://forum.kirupa.com/u/darkfx)\
**Post date:** [June 11, 2003, 10:05am UTC](https://forum.kirupa.com/t/scripting-rotation/22977/1 "2003-06-11T10:05:14Z")

</div>

Hi Everyone,

Is there anyone that knows how to script rotation; i want a picture to rotate and look at the cursor whereever it is over the movie, without actually moving its x & y co-ords.

Any help?

Thanks in advance,

dfx  
[http://www.darkfx.com](http://www.darkfx.com)

---

<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:** [June 11, 2003, 10:11am UTC](https://forum.kirupa.com/t/scripting-rotation/22977/2 "2003-06-11T10:11:29Z")

</div>

Ah! For anyone else whose interested, i found a solution at: [http://virtual-fx.net/vfx/tutorial/tutorial10\_81\_20020102.php](http://virtual-fx.net/vfx/tutorial/tutorial10_81_20020102.php)

(A note to complete beginners: It is a good habit to post resolved issues even if you fix it yourself, cause it will help you and other in the future)

---

<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:** [August 22, 2003, 9:58pm UTC](https://forum.kirupa.com/t/scripting-rotation/22977/3 "2003-08-22T21:58:47Z")

</div>

Good work darkfx - I was looking for something like this to help someone else with a post and because you posted that link, I was able to find it right away!!
