Download

UMG Drag/Drop - Not Slot-like

Good evening,

Hoping to find some answers to this small issue:

To make it short, I have a window UMG. Inside this window UMG I have several buttons. I just want them to be moveable (drag and dropped) but only inside the window UMG.
Note: this is not drag and drop SLOT-like - you should be able to drop it inside the window UMG based on its coordinates.

I already have the drag part. however I am having a hard time trying to obtain the coordinate (X,Y) of the “On Drop” inside the window UMG to then place the new button location.

Thanks

Documented here:

https://answers.unrealengine.com/questions/976410/how-to-move-a-widget-panel-when-i-press-the-mouse.html

Works well, haven’t we talked about this? You can create a window of any size and shift widgets inside it.

2 Likes