Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/UScriptableSingleClickTool
Description
Update an active Hover sequence. OnHoverUpdate is only ever called between OnHoverBegin and OnHoverEnd
| Name | OnHoverUpdate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/BaseTools/ScriptableSingleClickTool.h |
| Include Path | #include "BaseTools/ScriptableSingleClickTool.h" |
UFUNCTION (BlueprintNativeEvent, Category="Hover Events")
bool OnHoverUpdate
(
FInputDeviceRay HoverPos,
const FScriptableToolModifierStates & Modifiers
)
true to continue hovering, false to stop receiving additional hover events
Parameters
| Name | Remarks |
|---|---|
| HoverPos | the current position of the cursor/device, including both a 3D ray from the eye, and (optionally) a 2D mouse position |
| Modifiers | current modifier key/button state |