# Move in opposite direction of mouse

**URL:** https://forum.kirupa.com/t/move-in-opposite-direction-of-mouse/126214
**Category:** Uncategorized
**Created:** [October 21, 2004, 7:52am UTC](https://forum.kirupa.com/t/move-in-opposite-direction-of-mouse/126214 "2004-10-21T07:52:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ryu\_ninjato](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@ryu\_ninjato](https://forum.kirupa.com/u/ryu_ninjato)
#### Post date: [October 21, 2004, 7:52am UTC](https://forum.kirupa.com/t/move-in-opposite-direction-of-mouse/126214/1 "2004-10-21T07:52:25Z")

</div>

HEY, I’M NEW TO FLASH KIT!!!  
Unfortunately I need some help URGENTLY!!!

I want to make a movieclip [COLOR=red] **MOVE IN THE OPPOSITE DIRECTION OF THE MOUSE** [/COLOR] according to the parameters of a smaller version of the same movieclip.

So, I want it so that if the mouse is at the egde of the small movieclip then that area of the larger clip can be seen through a [COLOR=blue]a scripted mask that follows the mouse[/COLOR]

I Already Scripted the Mask- Don’t worry

I want it to look kinda like the attached file but I want the lrg clip to stop once you get to the egdes of the small clip.

This would help alot.

I kinda have a deadline

Thanks!!!
