Why pixel size output of GetUserInterfaceUV is giving me a gradient instead of a constant?


I was expecting a constant from both R and G since the pixel size is just giving out the horinzontal size and the vertical size?
Am I reading this node wrong? Can’t really find any documention on it either.

It should be returning a constant when applied to a widget element. The function itself is just returning tex coords at index 3, so preview is showing a gradient since it uses standard UVs. I think widget elements calculate UV3 and collapses them to a single point between 0 and 1 or something.