private void dropperModeEvent(PointerEvent event) {

		if(event.onButtonDown(MouseButton.MOUSE_BUTTON_LEFT)) {
			if(mx>startScreenX&&my>startScreenY) {

				setPrimaryColor(new Color(screen.getRGB(mx-startScreenX, my-startScreenY)));				

			}
		}

		if(event.onButtonDown(MouseButton.MOUSE_BUTTON_RIGHT)) {
			if(mx>startScreenX&&my>startScreenY) {

				setSecundaryColor(new Color(screen.getRGB(mx-startScreenX, my-startScreenY)));

			}
		}

	}