Change Z-Order in Viewport

I’m making a feature request for having the ability to change the Z-Order of widgets in the VIEWPORT at runtime. This seems like a simple feature to add. If there are any ways I can set this up in the meantime I would love to know how. I looked in C++ and it seems like I would have to do a lot of hacking to get it done.

In blueprints, you can’t just Remove From Parent, and then call Add to Viewport again. I suppose it puts it in a pending list when you call Remove From Parent.

The effect I want is to be able to control Z-Order of windows in game in the same way that any Operating System does. You click a window, it comes to the front.

Hello. There are several existing UI layers and several methods to add a widget. This can help a little bit UE4Cookery CPP007: How to add a widget?