@Override
    public void grabbed(EventMouse eventMouse) {
        texPos = sliderTexture.getBobGrabbed();

        float posDifference = eventMouse.getPosition().getX() - getPosition().getX() - getScale().getX()/2;
        if (posDifference != 0)
            setPosition(getPosition().add(new Vector3f(posDifference,0,0)).getXY());
    }