private void pencilModeEvent(PointerEvent event) {

		if(event.onButtonDown(MouseButton.MOUSE_BUTTON_LEFT)) {
			pencilLeftPressed = true;
		}
		if(event.onButtonUp(MouseButton.MOUSE_BUTTON_LEFT)) {
			pencilLeftPressed = false;
		}

		if(event.onButtonDown(MouseButton.MOUSE_BUTTON_RIGHT)) {
			pencilRightPressed = true;
		}
		if(event.onButtonUp(MouseButton.MOUSE_BUTTON_RIGHT)) {
			pencilRightPressed = false;
		}

	}