# Random motion, stop on rollOver, move on rollOut

**URL:** <https://forum.kirupa.com/t/random-motion-stop-on-rollover-move-on-rollout/151631>\
**Category:** flash\
**Created:** [June 16, 2005, 10:38pm UTC](https://forum.kirupa.com/t/random-motion-stop-on-rollover-move-on-rollout/151631 "2005-06-16T22:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcoglon](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@tcoglon](https://forum.kirupa.com/u/tcoglon)\
**Post date:** [June 16, 2005, 10:38pm UTC](https://forum.kirupa.com/t/random-motion-stop-on-rollover-move-on-rollout/151631/1 "2005-06-16T22:38:26Z")

</div>

Using the kirupa tutorial about random motion, [http://www.kirupa.com/developer/actionscript/random\_motion.htm](http://www.kirupa.com/developer/actionscript/random_motion.htm) does anyone know if it is possible to stop one of the movie clips on rollOver and then have it resume its random motion on rollOut? If so what would the code look like. Thanks in advance.
