To erase a square, press the square again. I left the one with the save code over here because it is broken and I would like someone to fix it: https://scratch.mit.edu/projects/1262370595/