How can I clip UMG widgets based on their screen location?

I have some widgets that have their render transform scaled. I need to clip them when they are outside a certain area of the screen.
Placing them in a vertical/horizontal box does not work.
Using a custom style material on UI, for some reason, keeps returning pixel screen space/screen UV x and y as 0, and as far as I can tell there is no other way to get the screen space via a material on a widget.


So, this can be done with anything inside a canvas, as long as it isn’t done through the “Render Transform”. Anything with a position outside the canvas has its relevant position clipped, and then the transform is applied over top of that, so it can be scaled beyond the canvas area.

Still don’t know why the screen X/Y coordinates don’t work for UI materials, though.