Navigation
BlueprintAPI > BlueprintAPI/ScriptableTool > BlueprintAPI/ScriptableTool/Input
Implements a standard "button-click-drag"-style input behavior.
The state machine works as follows: 1) on input-device-button-press, call CanBeginClickDragSequence to determine if capture should begin 2) on input-device-move, call OnClickDrag 3) on input-device-button-release, call OnClickRelease
If a ForceEndCapture occurs we call OnTerminateDragSequence
Target is Scriptable Modular Behavior Tool
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target | |
| delegate | Can Begin Click Drag Sequence | Test if target can begin click-drag interaction at this point |
| delegate | On Click Press | Notify Target that click press occurred |
| delegate | On Click Drag | Notify Target that input position has changed |
| delegate | On Click Release | Notify Target that click release occurred |
| delegate | On Terminate Drag Sequence | Notify Target that click-drag sequence has been explicitly terminated (eg by escape 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 |
| enum | Mouse Button | Determines which mouse button the behavior captures on |
| boolean | Update Modifiers During Drag |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out |