Get position of a widget

I’m trying to follow Mathew Wadstein’s tutorial on youtube called

Change Widget Positions in UMG using Nodes

It seems to be outdated.
I’m trying to change the position of a widget. But UE4 doesn’t allow me to just search

Get Position

like he has in his video.
If I search

Set X

Stuff pops up. If I search

Set X Position

Unreal has no clue what I’d like to do.

What is Unreal Editor 4.22’s word for Position??? Because it’s not position.

How do I find, and set, a widget’s X and Y positions???
If there’s more than one way, please explain all of the ways.

There are both Get Position as well as Set Position functions inside Canvas Panel Slot.

You need to create Slot variable, not just regular one. It is shown in the video.

You can Get and Set the Viewport Position of Widgets with this functions (you can only set the position if the widget is child of an Canvas Panel!).

5 Likes