private void eraserModeEvent(PointerEvent event) {

		//Erase
		if(event.onButtonDown(MouseButton.MOUSE_BUTTON_LEFT)) {

			erasing = true;

		}
		else if(event.onButtonUp(MouseButton.MOUSE_BUTTON_LEFT)) {

			erasing = false;

		}

	}