internal static void MoveFocusAndScroll(bool forward) { int keyboardControl = GUIUtility.keyboardControl; EditorGUIUtility.Internal_MoveKeyboardFocus(forward); if (keyboardControl != GUIUtility.keyboardControl) { EditorGUIUtility.RefreshScrollPosition(); } }