@Override
    public boolean touchDragged(int screenX, int screenY, int pointer) {
        OrthographicCamera camera = WidgetMgr.MAP_EDITOR.camera;
        
        if(Gdx.input.isButtonPressed(Input.Buttons.RIGHT)){

                Ray pickRay = camera.getPickRay(Gdx.input.getX(), Gdx.input.getY());
                Intersector.intersectRayPlane(pickRay, XY_PLANE, curr);

                if(!(last.x == -1 && last.y == -1 && last.z == -1)) {
                        pickRay = camera.getPickRay(last.x, last.y);
                        Intersector.intersectRayPlane(pickRay, XY_PLANE, delta);			
                        delta.sub(curr);
                        camera.position.add(delta.x, delta.y, delta.z);

                }
                last.set(Gdx.input.getX(), Gdx.input.getY(), 0);
                WidgetMgr.MAP_EDITOR.camPos.set(camera.position);
        }
        return false;
    }