Use arrow keys to look. WASD to move.
The scripts are from this tutorial: https://scratch.mit.edu/projects/396207097 I didn't copy and paste the code though.