Module |
|
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
(
FEventReply & Reply,
UWidget * WidgetDetectingDrag,
FKey DragKey
)
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.
Parameter |
Description |
---|---|
WidgetDetectingDrag |
Detect dragging in this widget |
DragKey |
This button should be pressed to detect the drag |