Changing UI Widget Component on runtime

Been playing around with the 3d Umg widgets for awhile and been wondering if I could actually change the Widget’s UI Widget class to other widget during runtime, like changing the 3d UMG widget to be based on other UMG widgets.

49998-capture.png

You can’t change the class at runtime, but you can change the widget object at runtime.

  1. CreateWidget, Class = your user widget object’s class, Owning Player can be ignored
  2. Get the target Widget Component, drag off Set Widget, and use the return value of step 1
  3. Additionally, you can get the target Widget Component and drag off Set Draw Size
1 Like

Although it’s not as straight forward like changing Static Mesh, but this work around works perfectly for me! Thank you!!