Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FReply
Description
Ask Slate to detect if a user started dragging in this widget. If a drag is detected, Slate will send an OnDragDetected event.
| Name | DetectDrag |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/Reply.h |
| Include Path | #include "Input/Reply.h" |
FReply & DetectDrag
(
const TSharedRef < SWidget > & DetectDragInMe,
FKey MouseButton
)
Parameters
| Name | Remarks |
|---|---|
| DetectDragInMe | Detect dragging in this widget |
| MouseButton | This button should be pressed to detect the drag |