I am attempting to create moveable tags (sort of like 4 buttons) that permanently sit on the HUD and are interactive by the person playing the game. For example – say you have 4 cars in the game, and each tag on screen represents one of those 4 cars, and is stacked on top of each other. The top 2 tags show the status of ‘driving’, the tag below it says “towing”, and the 4th tag says “parked”. How would I create something that stacks these tags, but if the user needed to move the “parked” tag to the top of the list by clicking and dragging it while the other 3 tags shifted down? I don’t think UE4 widgets possess this power ‘yet’, so I assume there must be something else that can generate this functionality. I clipped an image to this post to illustrate my attempts. Any help would be greatly appreciated! Thanks everyone!
Hm, i don’t know how to do this with UMG, but i have made Drag&Drop with the normal HUD.
I wrote a small sumup in this questions:
https://answers.unrealengine.com/questions/98250/umg-dragdrop-a-little-help.html
It’s the long post. It’s basicly working with Hitboxes and arrays that store the current position of one of those elements, as well as the overall positions of those 4 tags. Than it’s just a bit of index shifting. Maybe that helps you + reading my comment in the other answer.
Thanks eXi. The link you provided will give me something to play around with and see what I can get to work. I appreciate the quick response!