# Random movement with arrays

**URL:** <https://forum.kirupa.com/t/random-movement-with-arrays/39451>\
**Category:** Uncategorized\
**Created:** [January 7, 2004, 3:14pm UTC](https://forum.kirupa.com/t/random-movement-with-arrays/39451 "2004-01-07T15:14:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mako](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@mako](https://forum.kirupa.com/u/mako)\
**Post date:** [January 7, 2004, 3:14pm UTC](https://forum.kirupa.com/t/random-movement-with-arrays/39451/1 "2004-01-07T15:14:54Z")

</div>

hi.

I have a MC, that I need to move to various points on a grid.

I’m not to sure where to start. Should I be using an array with prefined x and y positions, and then an event handler. or is there some other object way ?

Any suggestions examples… most welcome…

thanx 🙂
