# Help with random motion code

**URL:** <https://forum.kirupa.com/t/help-with-random-motion-code/153300>\
**Category:** Uncategorized\
**Created:** [June 30, 2005, 2:59pm UTC](https://forum.kirupa.com/t/help-with-random-motion-code/153300 "2005-06-30T14:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirstenosborn](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@kirstenosborn](https://forum.kirupa.com/u/kirstenosborn)\
**Post date:** [June 30, 2005, 2:59pm UTC](https://forum.kirupa.com/t/help-with-random-motion-code/153300/1 "2005-06-30T14:59:47Z")

</div>

I am playing with the code on the Kirupa site for random motion:  
[http://www.kirupa.com/developer/actionscript/random.htm](http://www.kirupa.com/developer/actionscript/random.htm)

Is there a way to make it so the balls only fall down and not come back up again? I want to make an effect like rain. Any ideas?  
kirsten  
:pirate3:
