Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UWidgetBlueprintLibrary
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static FEventReply DetectDrag
&40;
FEventReply & Reply,
UWidget &42; WidgetDetectingDrag,
FKey DragKey
&41;
Remarks
Ask Slate to detect if a user starts dragging in this widget later. Slate internally tracks the movement and if it surpasses the drag threshold, Slate will send an OnDragDetected event to the widget.
Parameters
| Name | Description |
|---|---|
| WidgetDetectingDrag | Detect dragging in this widget |
| DragKey | This button should be pressed to detect the drag |