Use the arrow keys to draw.
When you press the erase button, it will just make you erase anything you touch with the mouse pointer. Thanks to the scratch, coding for beginners book.