The checkerboard pattern denotes a transparent background. That's exactly what the eraser tool does. It removes everything on the layer. To separate your drawing from the background, put drawing on a new layer. See screenshot from desktop Photoshop.
Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media