if ( localTranslation.y + hotSpotOffset.y < 0 - imageHeight ) { localTranslation.y = 0 - imageHeight - hotSpotOffset.y;
if ( localTranslation.y + hotSpotOffset.y < 0  ) { localTranslation.y = 0 - hotSpotOffset.y;
        public void performAction( InputActionEvent evt ) {            if ( isUsingDelta() ) {                localTranslation.y += evt.getTriggerDelta() * height * speed;  //speed of the action!            } else {                localTranslation.y = evt.getTriggerPosition() * height * speed - hotSpotOffset.y;            }            if ( localTranslation.y + hotSpotOffset.y < 0 - imageHeight ) {                localTranslation.y = 0 - imageHeight - hotSpotOffset.y;            }            else if ( localTranslation.y + hotSpotOffset.y > height ) {                localTranslation.y = height - hotSpotOffset.y;            }            worldTranslation.y = localTranslation.y;            hotSpotLocation.y = localTranslation.y + hotSpotOffset.y;        }