How can I dynamic to change the UMG's widget position or padding

How can I dynamic to change the UMG’s widget position or padding.

I just can not find how to set the position for UMG’ widget in blueprint

I have the same question. Seems there is UserWidget : Set position in viewport

But it doesn’t work.

Bump i am trying to scale a button on mouse over but no luck

Does button placed on canvas? If so, then call method Get Slot in bluerints and Cast it to CanvasSlot. After this call method Set position and Set horizontal/vertical alignement.

1 Like

if someone is still looking for a solution do it like this:

This solved my problem, and hopefully helps you. Widget’s use Set Position in blueprints, not location.

1 Like

Thank you!