# Help with functions and random direction

**URL:** <https://forum.kirupa.com/t/help-with-functions-and-random-direction/158476>\
**Category:** Uncategorized\
**Created:** [August 9, 2005, 11:38pm UTC](https://forum.kirupa.com/t/help-with-functions-and-random-direction/158476 "2005-08-09T23:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)\
**Post date:** [August 9, 2005, 11:38pm UTC](https://forum.kirupa.com/t/help-with-functions-and-random-direction/158476/1 "2005-08-09T23:38:06Z")

</div>

Hey all. Need help with my functions in this fla i have. I use the function to create a random number and the char move accordingly depending on the number.

heres the fla
