Use the arrow keys to move. You can use this to make a game if you want, just give me credit. I have no idea how this thing actually works it just does. It was very confusing to make.