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)
    class FocusChain
    bool
    runInputAction
  2. bool runInputAction(bool isActive)
  3. bool runInputAction(InputActionID actionID, bool isActive, int )

Parameters

actionID InputActionID

Input action for the node to handle.

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