FocusChain.runInputAction

Handle an input action using the currently focused node.

Does nothing if no node has focus.

  1. bool runInputAction(InputActionID actionID, bool isActive)
  2. bool runInputAction(bool isActive)
    class FocusChain
    bool
    runInputAction
    (
    alias action
    )
    (
    bool isActive = true
    )
  3. bool runInputAction(InputActionID actionID, bool isActive, int )

Parameters

isActive bool

If true (default) the action is active, on top of being simply emitted. Most handlers only react to active actions.

Return Value

Type: bool

True if the action was handled. Consequently, wasInputAction will be set to true.

Meta