# Flash mouse movement help

**URL:** <https://forum.kirupa.com/t/flash-mouse-movement-help/200777>\
**Category:** Uncategorized\
**Created:** [September 15, 2006, 1:18am UTC](https://forum.kirupa.com/t/flash-mouse-movement-help/200777 "2006-09-15T01:18:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedKenshin](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@RedKenshin](https://forum.kirupa.com/u/RedKenshin)\
**Post date:** [September 15, 2006, 1:18am UTC](https://forum.kirupa.com/t/flash-mouse-movement-help/200777/1 "2006-09-15T01:18:19Z")

</div>

ok i’m making a flash game similar to the Maze Game, i use objects in my game that moves randomly(its a movie clip if you didn’t know). i was wondering if anyone knew how to script something that when your mouse touched the object, the game restarts. now i’ve tried to script “on (rollOver) { gotoAndStop(1);}”, this did not work i think it is due to the object being a movie clip and not a button, now i can’t turn it into a button or it wont move randomly, does anyone know what to type, so that when the object comes into contact with your mouse it restarts the level?
