Navigation
BlueprintAPI > BlueprintAPI/ScriptableTool > BlueprintAPI/ScriptableTool/Input
AddSingleKeyInputBehavior implements a generic keyboard 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 is pressed. |
| delegate | On Key Released | Callback when the target key is released |
| 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 | Key | |
| 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 |