UMG Change Panel Location

Hello, I have different panels (e.g. chat, inventory, skills, health bar…) inside one UMG blueprint. Can I change location of one of the boxes to the mouse cursor when it was clicked? Thanks

you mean dragging the widget around the screen?

yes, changing its position by blueprints

You need to use Slot for that. So let’s say you have a button inside a canvas panel. You get your button variable -> get slot -> cast to canvas panel -> and then you have access to the same variables that you see in the designer tab inside slot proprieties.