Skip to main content

CommonKeyMove

Callable

  • CommonKeyMove(event, allowArrowKeys, checkModifiers): West | East | North | South

  • Translates the current event into movement directions

    This returns a layout independent u/d/l/r string

    These keybinds get documented in KeybindingDefaults.DefaultKeybindings


    Parameters

    • event: KeyboardEvent
    • allowArrowKeys: boolean = true
    • checkModifiers: boolean = true

    Returns West | East | North | South