Just use the arrow keys to move
I followed 4 tutorials to make this here is one of them https://scratch.mit.edu/projects/100450683 And the person who made the tutorials is @MathMathMath