# Dragging 3D object 'out of' a UI button but position not updating when holding

**URL:** <https://forums.unrealengine.com/t/dragging-3d-object-out-of-a-ui-button-but-position-not-updating-when-holding/232066>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [May 28, 2021, 9:40pm UTC](https://forums.unrealengine.com/t/dragging-3d-object-out-of-a-ui-button-but-position-not-updating-when-holding/232066 "2021-05-28T21:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 29, 2021, 6:26am UTC](https://forums.unrealengine.com/t/dragging-3d-object-out-of-a-ui-button-but-position-not-updating-when-holding/232066/2 "2021-05-29T06:26:24Z")

</div>

I believe this is what you’re after:

> [@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…

---

_[View the full topic](https://forums.unrealengine.com/t/dragging-3d-object-out-of-a-ui-button-but-position-not-updating-when-holding/232066)._
