Use the right arrow to walk to the right and the left arrow to move to the left.
I made this in like half an hour and its kinda wonky.