public static void updateActorPosition(final Actor actor,final Vector2 newScreenSizeInStageCoords){
  if (actor != null) {
    updateActorPosition(actor,actor.getStage(),newScreenSizeInStageCoords);
  }
}

public static void updateActorPosition ( final Actor actor , final Vector2 newScreenSizeInStageCoords ) { if ( actor != null ) { updateActorPosition ( actor , actor . getStage ( ) , newScreenSizeInStageCoords ) ; } }
when called before resizing the stage , moves the actor to match the same aspect ratio as before . useful for windows and dialogs in screen viewports .
