FReply::DetectDrag

Ask Slate to detect if a user started dragging in this widget.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Reply.h

Include

#include "Input/Reply.h"

Syntax

FReply & DetectDrag
(
    const TSharedRef< SWidget > & DetectDragInMe,
    FKey MouseButton
)

Remarks

Ask Slate to detect if a user started dragging in this widget. If a drag is detected, Slate will send an OnDragDetected event.

Parameters

Parameter

Description

DetectDragInMe

Detect dragging in this widget

MouseButton

This button should be pressed to detect the drag

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss