# Moveable circle around another circle - No Overlap

**URL:** https://forum.kirupa.com/t/moveable-circle-around-another-circle-no-overlap/221638
**Category:** flash
**Created:** [April 5, 2007, 9:18pm UTC](https://forum.kirupa.com/t/moveable-circle-around-another-circle-no-overlap/221638 "2007-04-05T21:18:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nemoBejingler](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nemoBejingler](https://forum.kirupa.com/u/nemoBejingler)
#### Post date: [April 5, 2007, 9:18pm UTC](https://forum.kirupa.com/t/moveable-circle-around-another-circle-no-overlap/221638/1 "2007-04-05T21:18:41Z")

</div>

Hey all. I have two MC’s, circular in shape. One of the circles is stationary and you can drag the other. I’m trying to get the moveable circle to be able to move around the circumference of the stationary circle, but not overlap. I’m able to detect when they overlap, not using hittest. I just can’t figure out how to code it so that the draggable circle can’t be moved over the stationary circle. Any suggestions, comments, or help is greatly appreciated. Thx.
