moving 1 to another position if keyhit is true?

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

The new version actually makes more sense to me. I didnt get the other one at all. Well it works so now I have to add checks to see if the box goes out the arrays boundaries. I dont need a timer i think because I'm using keyhit() instead of keydown() so the box only moves if the key has been hit.