You use the arrow keys.
I backpacked some code from this project: https://scratch.mit.edu/projects/401402912/ Note: I changed some of the code and deleted some of it.