Press green flag 1,2,3 to change pattern Space to erase
Try this https://scratch.mit.edu/projects/900092038