This is a modified keyboard version of this project from the book Scratch Programming in Easy Steps. The original used a microbit. This one uses the cursor keys to move, A to go really fast, and Z to brake.
This is an example from the 2nd Edition of the book Scratch Programming in Easy Steps by Sean McManus. More info here: http://www.sean.co.uk/books/scratch-programming-in-easy-steps/index.shtm