Umg widget moving when setting draw size

I have a umg widget that i scale with my zoom but when i do so it moves in the world and becomes very skewed in the X and Y. The code i have is this:

Edit: I solved it by using set world scale 3d instead

Could you demonstrate it with with a screenshot of what happens during run time vs your expectations?

If you see the widget change location abnormally during scaling, it could be caused by the pivot of the component set to something other than 0.5 | 0.5 or by the way the embedded 2d widget is nested in its parent.

There might be other things causing it, of course, but these would be the first items to check.

Could you provide a screenshot of the widget hierarchy as well?

This is how it looks zoomed in(fine except for the fact that i want it to be higher up but that doesn’t have to do with this)

250578-zoomedin.png

This is zoomed out:

250579-zoomedout.png

Used scaling instead of draw size and it worked like intended