Creating Drag and Drop UI using C++

It’s worth pointing out that one can simply chain the FReply.

FReply UMyWidget::NativeOnMouseButtonDown(const FGeometry& InGeometry, const FPointerEvent& InMouseEvent)
{
    ...
    return FReply::Handled().DetectDrag(this->GetCachedWidget().ToSharedRef(), DragKey);
    ...
}