Left and right arrow keys to rotate the plane. Press the "a" key to turn the pen on. Press the "z" key turn off the pen. Press space to erase the pen trail.
I used the book: "Computer Coding for Kids: A Unique Step-by-step Visual Guide, from Binary Code to Building Games"