API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeFocusNavigationPolicy
Which nodes the arrow keys and the D-pad may move focus to - see InteractionSystem.focusNavigation. - `'ui'` restricts navigation to the scene's UI layer, so the arrow keys stay available to the game itself. - `'always'` navigates both layers, exactly the set Tab traverses. - `'never'` turns directional navigation off, including InteractionSystem.focusInDirection. An active interaction scope replaces the candidate set with its own subtree whichever layer it lives in - a modal is navigable regardless of the policy, which only ever decides what an UNSCOPED navigation may reach.
import { FocusNavigationPolicy } from '@codexo/exojs'Which nodes the arrow keys and the D-pad may move focus to - see InteractionSystem.focusNavigation.
- `'ui'` restricts navigation to the scene's UI layer, so the arrow keys stay available to the game itself. - `'always'` navigates both layers, exactly the set Tab traverses. - `'never'` turns directional navigation off, including InteractionSystem.focusInDirection.
An active interaction scope replaces the candidate set with its own subtree whichever layer it lives in - a modal is navigable regardless of the policy, which only ever decides what an UNSCOPED navigation may reach.
"always" | "never" | "ui"