Use left/right arrow keys to move, and press space to stop moving.
I made this myself like a year ago in three hours. I will remake this one day. (epilepsy warning maybe)