# Drag and drop elements in scrollbox in widget editor utility

**URL:** <https://forums.unrealengine.com/t/drag-and-drop-elements-in-scrollbox-in-widget-editor-utility/2455675>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 14, 2025, 5:00am UTC](https://forums.unrealengine.com/t/drag-and-drop-elements-in-scrollbox-in-widget-editor-utility/2455675 "2025-04-14T05:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fansim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fansim](https://forums.unrealengine.com/u/fansim)\
**Post date:** [April 14, 2025, 5:00am UTC](https://forums.unrealengine.com/t/drag-and-drop-elements-in-scrollbox-in-widget-editor-utility/2455675/1 "2025-04-14T05:00:48Z")

</div>

hey guys work on editor on camera layering system and other management and I was wondering if is it possible on the Editor utiliy widget to use the drag and drop operations ? I would like to drag from one list to another or just be able to drag /drop on the same scrollbox to reorder.

 ![draganddrop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/2/c825c810e4b58968836505e0827a1644676863db.png)

I guess it’s done by reording index elements ? I’m not sure most of the tutorial I watched are doing the same BP drag and drop operation but I don’t have that in utility blueprint ..Most steps are not the same cause they are dragging something(often an inventory) in the play viewport.

The closet thing I found on this forum is this :  
[Gyazo](https://gyazo.com/2a241a09c29416f16d5e625f1472f290)

but I guess it’s done on runtime so I have no idea how to do for me case

---

<div class="post-metadata">

**Author:** ![Pixel\_Punk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pixel\_Punk](https://forums.unrealengine.com/u/Pixel_Punk)\
**Post date:** [April 16, 2025, 11:16am UTC](https://forums.unrealengine.com/t/drag-and-drop-elements-in-scrollbox-in-widget-editor-utility/2455675/2 "2025-04-16T11:16:19Z")

</div>

Have you tried this?

> **[Creating Drag and Drop UI in Unreal Engine | Unreal Engine 5.5 Documentation...](https://dev.epicgames.com/documentation/en-us/unreal-engine/creating-drag-and-drop-ui-in-unreal-engine)**
>
> Shows how you can create drag and droppable UI widgets with UMG.

And I can get a Widget to drag, but the position and the r adding is completely broken. Because the tutorial uses the viewport which we don’t have in EditorWidgets.

I’ve been stuck here in 3.9

 ![ue5_1-30-ondrop-bp-script-4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/5/f45a231fbeca323504914a8d0c247bb0b77c76be.png)  
The OnDrop MyGeometry Input gives the current windows size, but I have no idea how to position a UserWidget on a canvas or the parent widget.

---

<div class="post-metadata">

**Author:** ![fansim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fansim](https://forums.unrealengine.com/u/fansim)\
**Post date:** [April 17, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/drag-and-drop-elements-in-scrollbox-in-widget-editor-utility/2455675/3 "2025-04-17T15:04:45Z")

</div>

no I didn’t I followed some tutorial and it didn’t work for the editor widget so I assumed maybe I needed c++ or python to modify that for the editor 😕

i will try though thank you very much for the demo !  
I will keep you updated as I have moved on on something else
