# Widget size

**URL:** <https://forums.unrealengine.com/t/widget-size/2243607>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [December 26, 2024, 12:42pm UTC](https://forums.unrealengine.com/t/widget-size/2243607 "2024-12-26T12:42:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [December 27, 2024, 3:29pm UTC](https://forums.unrealengine.com/t/widget-size/2243607/9 "2024-12-27T15:29:35Z")

</div>

> [@dvg75](#):
>
> And actually never left point A.

If you want to use Drag & Drop, you must also implement the **Drop** part. Note that the method I suggested in the linked thread does not use Drag & Drop at all; there we actually move the very widget rather than its visual copy.

> [@dvg75](#):
>
> you might have a path or a clue relative to my next problem.
> 
> pickin up a mesh from a widget  
> drop it in the scene

May ways, some simpler than others:

- simple:

> [@Dragging 3D object 'out of' a UI button but position not updating when holding](https://forums.unrealengine.com/t/dragging-3d-object-out-of-a-ui-button-but-position-not-updating-when-holding/232066/6):
>
> so many different links of events… […]if there’s a way to approach this in a simpler fashion Let me clarify; what I originally suggested is suitable for a situation where you want both - dragging a widget and dragging an actor around simultaneously. Spawning and dragging after an interface click is easier as we don’t care about widget position: [[Image from Gyazo]](https://gyazo.com/845ee0e5a16140ad15da7f127fe34cf8) The above should be in the Player Controller. Here the button was set to Mouse Down so it releases focus even though i…

- more advanced, where we _simultaneously_ Drag & Drop a widget:

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

* * *

> move rotate  
> delete  
> pick another etc…

Too many ways to implement this - depends on the details. The most common way would be to handle it in the Player Controller where input stores a reference to the selected object and messages the appropriate interface whose functions the interactive objects implement.

---

_[View the full topic](https://forums.unrealengine.com/t/widget-size/2243607)._
