# Drag and Drop On invisible Ui area

**URL:** <https://forums.unrealengine.com/t/drag-and-drop-on-invisible-ui-area/674177>\
**Category:** UI\
**Tags:** unreal-engine, UE5-0, Widget, question, UMG\
**Created:** [October 21, 2022, 10:14am UTC](https://forums.unrealengine.com/t/drag-and-drop-on-invisible-ui-area/674177 "2022-10-21T10:14:20Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 21, 2022, 1:22pm UTC](https://forums.unrealengine.com/t/drag-and-drop-on-invisible-ui-area/674177/11 "2022-10-21T13:22:49Z")

</div>

Ok, so this is not _really_ drag & drop. Drag and drop is for dropping stuff onto other widgets, when the drop is detected by a widget’s onDrop implementation.

I believe what you’re looking for is `OnDragCancelled` since we’re dropping into the _world_, rather than detecting another widget container, right? Something like this:

> [@Spawning an object on "On Drag Cancelled"... spawns in weird locations](https://forums.unrealengine.com/t/spawning-an-object-on-on-drag-cancelled-spawns-in-weird-locations/253644/3):
>
> Before you evaluate / attempt to fiddle with the above, try this: Untested and 99% sure it’s not going to work…

The above would be implemented in the Drag Operation itself.

* * *

In short: the `onDrop` does not work if there’s no widget to drop onto.

---

_[View the full topic](https://forums.unrealengine.com/t/drag-and-drop-on-invisible-ui-area/674177)._
