# Kirupas random motion - stop on rollover

**URL:** <https://forum.kirupa.com/t/kirupas-random-motion-stop-on-rollover/156426>\
**Category:** Uncategorized\
**Created:** [July 25, 2005, 7:40pm UTC](https://forum.kirupa.com/t/kirupas-random-motion-stop-on-rollover/156426 "2005-07-25T19:40:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![krangster](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@krangster](https://forum.kirupa.com/u/krangster)\
**Post date:** [July 25, 2005, 7:40pm UTC](https://forum.kirupa.com/t/kirupas-random-motion-stop-on-rollover/156426/1 "2005-07-25T19:40:27Z")

</div>

hi,

modifying the random motion script in a kirupa tutorial:

[http://www.kirupa.com/developer/mx/random\_motionMX.htm](http://www.kirupa.com/developer/mx/random_motionMX.htm)

i would like the random objects to be buttons that pause on mouse rollover. don’t know how to stop a function then start it again with mouse control…

thanks for any help  
doug
