FSlateApplication::HasTraveledFarEnoughToTriggerDrag

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

bool HasTraveledFarEnoughToTriggerDrag
(
    const FPointerEvent & PointerEvent,
    const FVector2D ScreenSpaceOrigin
) const

Returns

true if the difference between the ScreenSpaceOrigin and the ScreenSpacePosition is larger than the trigger distance for dragging in Slate.

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