Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Slate > API/Runtime/UMG/Slate/SObjectWidget
- SWidget::OnDrop()
- SObjectWidget::OnDrop()
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Slate/SObjectWidget.h |
| Include | #include "Slate/SObjectWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Slate/SObjectWidget.cpp |
virtual FReply OnDrop
&40;
const FGeometry & MyGeometry,
const FDragDropEvent & DragDropEvent
&41;
Remarks
Called when the user is dropping something onto a widget; terminates drag and drop. A reply that indicated whether this event was handled.
Parameters
| Name | Description |
|---|---|
| MyGeometry | The geometry of the widget receiving the event. |
| DragDropEvent | The drag and drop event. |