Download

Getting a UMG Widget's size at runtime.

Is there a way of getting a custom widget’s new width at runtime?

Let’s say that you set the widget’s custom size to x:400, y:300, you then place this widget in another widget’s vertical box. Can you get that widget’s new render scale size? When I get self-> **Render Transform **from inside the widget at runtime it always returns x:1.0,y:1.0.

Do I have to manually feel that data from into the parent widget to the custom widget in a public variable or something?

thanks in advance!

Found the answer. If I use My Geometry -> Get Local Size I can do the math.