@Override public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) { Focusable focusable = FocusManager.getFocusedWidget(); if (focusable instanceof Actor == false || isAscendantOf((Actor) focusable) == false) { FocusManager.resetFocus(getStage()); } return false; } });