Change the order of the elements of a horizontal box in UMG

Hey,

So normally if you fill a horizontal box with elements and select one element, you get the little arrow buttons on the a two sides to shift the element’s position compared to the other elements in the box. The problem is that I add the elements dynamically via Blueprint and naturally they are put one after the other as I add them. I would like them to be shuffled randomly, but I don’t find any node for this in Blueprint. Any help would be greatly appreciated!

Thanks,
Fisher

hey there.
i think when you spawn your sub-widgets, you should store them in an array, mix up this array (using random stuffs) and then add them to your h box.

1 Like

This is exactly what I ended up doing as well, haha. Thank you!