Press right arrow to go right and left arrow to go left press the flag to start the game or restart
I made it up but then it turns out a YouTuber had the same idea and check this out https://scratch.mit.edu/projects/1153602495