# Moving a MC to a Random Location

**URL:** <https://forum.kirupa.com/t/moving-a-mc-to-a-random-location/33306>\
**Category:** Uncategorized\
**Created:** [October 17, 2003, 4:02pm UTC](https://forum.kirupa.com/t/moving-a-mc-to-a-random-location/33306 "2003-10-17T16:02:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sentry43](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Sentry43](https://forum.kirupa.com/u/Sentry43)\
**Post date:** [October 17, 2003, 4:02pm UTC](https://forum.kirupa.com/t/moving-a-mc-to-a-random-location/33306/1 "2003-10-17T16:02:36Z")

</div>

I want to move a Movie clip…to a random location on the stage…based on when a user does a mouse over on the Movie clip.

In other words…if I had a little box…in a movie clip…sitting on the main stage…and you mouse over it…I want it to “slide” to another location…but I want it to be totally random…

What type of code do I use?

Any suggestions would be appreaciated.

Thanks,

Mark
