# 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:** 13

<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:44pm UTC](https://forums.unrealengine.com/t/drag-and-drop-on-invisible-ui-area/674177/13 "2022-10-21T13:44:31Z")

</div>

There’s always a workaround:

> [@Getting Mouse Position During Drag and Drop UMG](https://forums.unrealengine.com/t/getting-mouse-position-during-drag-and-drop-umg/85760/15):
>
> Because it's undocumented, arcane knowledge obtainable only by those knowing a secret handshake. The below assumes you have overridden and using a Game Mode, a Player Controller and created a custom Drag & Drop Operation. in the Player Controller A Custom Event converts screen space to world space via deprojection and sets actor’s position: in the Custom Drag & Drop Operation blueprint Event Dragged spits out screen space coordinates and feeds them to an Event Dispatcher, we…

* * *

> nope ondrag cancel only work if drag not complete like release button too fast

This is not true. Even if I implement the drag cancelled in the widget that detected the drag, it works just fine…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/f/c8ff64ff9ada8815ab5e8df01bbd703f3f2f1915.png)

* * *

If you can’t replicate this, consider putting breakpoints where it makes sense and step through the script.

---

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