# Chase object around stage

**URL:** https://forum.kirupa.com/t/chase-object-around-stage/267839
**Category:** flash
**Created:** [August 6, 2008, 11:37am UTC](https://forum.kirupa.com/t/chase-object-around-stage/267839 "2008-08-06T11:37:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Daria\_Mia](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@Daria\_Mia](https://forum.kirupa.com/u/Daria_Mia)
#### Post date: [August 6, 2008, 11:37am UTC](https://forum.kirupa.com/t/chase-object-around-stage/267839/1 "2008-08-06T11:37:44Z")

</div>

Hey guys,

I’m just learning Flash and AS3 so apologies if this is a really basic question. I’m trying to get the mouse to ‘chase’ (repel) an object (in this case a movie clip) around the stage without the object being able to leave the stage. At some point I would like to have a number of movie clips on the stage but for now one will do!

Anyone got any ideas on how to do this?

Thanks in advance.
