Game dev
Saved & recent

UI focus and navigation

Related terms: focus order, focus neighbor, keyboard navigation, controller navigation, accessibility

Focus identifies the interface control currently selected for keyboard or controller interaction. Pressing Confirm activates that control; pressing a direction or Tab moves focus to another. A visible outline or highlight tells the player where their next action will go.

Choose an initial focused control and sensible neighbors for each direction. Tab navigation can follow a separate next-and-previous order. When a dialog closes, return focus to a useful place instead of leaving it on a hidden button. This lets menus work for players who cannot or prefer not to use a mouse.

Further reading
Godot: navigation and focus
Play Settings Load Quit Play Settings Load Quit Play Settings Load Quit Right Down initial focus
The double outline marks keyboard or controller focus. From Play, Right moves focus to Settings and Down moves it to Load.

View in the full Game dev collection