moving 1 to another position if keyhit is true?

BlitzMax Forums/BlitzMax Beginners Area/moving 1 to another position if keyhit is true?

Hoe would I check if the box has exceeded the boundaries of the array? I cant seem to get it to work.