# Drag movie and circular motion!

**URL:** https://forum.kirupa.com/t/drag-movie-and-circular-motion/253218
**Category:** Uncategorized
**Created:** [February 28, 2008, 6:21am UTC](https://forum.kirupa.com/t/drag-movie-and-circular-motion/253218 "2008-02-28T06:21:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bacosmin](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bacosmin](https://forum.kirupa.com/u/bacosmin)
#### Post date: [February 28, 2008, 6:21am UTC](https://forum.kirupa.com/t/drag-movie-and-circular-motion/253218/1 "2008-02-28T06:21:44Z")

</div>

[URL=“[http://www.kirupa.com/forum/showthread.php?t=86320](http://www.kirupa.com/forum/showthread.php?t=86320)”]It is possible that when i drag a movieClip to go only in a circular motion .

The thing is that i need to make a rotation button:  
the button in in right corner of a square .i need that when i drag the button , the square to rotate in that direction with that angle

I had tried many thing bunt i didnt manage to solve this problem.

I think that : if make the button to move only on the imaginary circle around the square it would be easy to calculate rotation.But the circle movement is a problem too.

Any Help??

Thanks  
Cosmin
