Navigation
BlueprintAPI > BlueprintAPI/ScriptableTool > BlueprintAPI/ScriptableTool/Input
AddMultiKeyInputBehavior implements a generic keyboard multi key listener behavior
Target is Scriptable Modular Behavior Tool
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target | |
| delegate | On Key Pressed | Callback when the target key(s) is pressed. Only triggers once if bRequireAllKeys is true. |
| delegate | On Key Released | Callback when the target key(s) is pressed. Only triggers once if bRequireAllKeys is true. |
| delegate | On Force End Capture Func In | Callback when capture is ended prematurely, typically due to the viewport losing focus, in which case the release callback will not be called. |
| struct | Keys | Target keys to watch for |
| boolean | Require All Keys | If true, all target keys must be pressed simultaniously to recieve press/release events. Otherwise, any and all keys can trigger events. |
| delegate | Capture Check | Only enable capture if returns true |
| integer | Capture Priority | The priority is used to resolve situations where multiple behaviors want the same capture |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out |