# Move many objects toward the mouse?

**URL:** https://forum.kirupa.com/t/move-many-objects-toward-the-mouse/229689
**Category:** flash
**Created:** [June 19, 2007, 3:25pm UTC](https://forum.kirupa.com/t/move-many-objects-toward-the-mouse/229689 "2007-06-19T15:25:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sicklif3](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@sicklif3](https://forum.kirupa.com/u/sicklif3)
#### Post date: [June 19, 2007, 3:25pm UTC](https://forum.kirupa.com/t/move-many-objects-toward-the-mouse/229689/1 "2007-06-19T15:25:32Z")

</div>

I’m wondering if someone can help me understand the best way to tackle this … I want to have 10-15 objects placed on and off the stage, but when the mouse comes close to the edge more objects move into place and the whole set moves.

I had started using “onEnterFrame” and mouse follows but it should only move when the mouse is within a certain proximity.

I hope that makes sense.

Thanks
