# Freeze position on rollover

**URL:** <https://forum.kirupa.com/t/freeze-position-on-rollover/213580>\
**Category:** flash\
**Created:** [January 21, 2007, 5:14am UTC](https://forum.kirupa.com/t/freeze-position-on-rollover/213580 "2007-01-21T05:14:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artriste](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@artriste](https://forum.kirupa.com/u/artriste)\
**Post date:** [January 21, 2007, 5:14am UTC](https://forum.kirupa.com/t/freeze-position-on-rollover/213580/1 "2007-01-21T05:14:55Z")

</div>

I have found a script that makes a bunch of movie clips move away from the mouse. So the MC are constantly in movement basicly. I would like to know how can I freeze the movies/buttons when I rollover. So I can select them cause currently, they just move away from the mouse… I need them to stick to the mouse when I rollover. Even better would be to make them smoothly stick to the mouse instead of freezing. Just like if they were attracted to it. ( It doesn’t make too much sense since the initial effect is to make them go away from the mouse ). What I would need actually is a script that would make the MC stick to the mouse and when I am over one of them, the others move away from the selected one… check out the FLA.

thanks!
