# Random motion

**URL:** <https://forum.kirupa.com/t/random-motion/4708>\
**Category:** Uncategorized\
**Created:** [August 16, 2002, 9:28pm UTC](https://forum.kirupa.com/t/random-motion/4708 "2002-08-16T21:28:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wa\_ha\_ha\_ha\_ha](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wa_ha_ha_ha_ha/32/55_2.png) [@wa\_ha\_ha\_ha\_ha](https://forum.kirupa.com/u/wa_ha_ha_ha_ha)\
**Post date:** [August 16, 2002, 9:28pm UTC](https://forum.kirupa.com/t/random-motion/4708/1 "2002-08-16T21:28:05Z")

</div>

Hi all,  
I am trying to modify one of the “action script tutorials” from Kirupa; it’s called random motion. ([http://www.kirupa.com/developer/actionscript/random.asp](http://www.kirupa.com/developer/actionscript/random.asp))  
I am trying to modify it, so when the user roll over on one of the moving graphics, that particular one will stop, and when the user roll off on it, it will start moving again.  
Anyway, I hope some one will know! Thanks a lot!!!

Wa ha ha ha :rambo:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2002, 3:55am UTC](https://forum.kirupa.com/t/random-motion/4708/2 "2002-08-17T03:55:22Z")

</div>

if your graphics are moving randomly you’re gonna have to tell it

to “cancel” any random motion and to leave it’s current \_x and \_y value intact. If I get a few minutes I’ll look up the tut and make a cpl of changes. But, you should give it a shot. That’s part of the fun.
