# (FMX04) Limiting Random Movement- oh god i need help!

**URL:** <https://forum.kirupa.com/t/fmx04-limiting-random-movement-oh-god-i-need-help/190796>\
**Category:** flash\
**Created:** [June 14, 2006, 7:18pm UTC](https://forum.kirupa.com/t/fmx04-limiting-random-movement-oh-god-i-need-help/190796 "2006-06-14T19:18:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aubtin](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@aubtin](https://forum.kirupa.com/u/aubtin)\
**Post date:** [June 14, 2006, 7:18pm UTC](https://forum.kirupa.com/t/fmx04-limiting-random-movement-oh-god-i-need-help/190796/1 "2006-06-14T19:18:26Z")

</div>

Hello all.

My knowledge of actionscript is basic, at best.

I’m trying to make some animations move randomly by following a very helpful tutorial posted on this site  
[http://www.kirupa.com/developer/actionscript/random\_motion.htm](http://www.kirupa.com/developer/actionscript/random_motion.htm)

And everything was going so well until I tried to use my own initiative to limit the width and height of the movement. This is when I realised that I haven’t got a clue what I am doing!

Any help at all will be greatly appreciated as I can literally see my hair falling out all over the keyboard in front of me.

Thank you, please help  
aubtin
