The end goal here is to have a button in my UI that, on click, moves its container up in ZOrder and makes a Background Blur visible.
I have a widget hierarchy that goes Canvas -> Widget Switcher -> Horizontal box -> Horizontal Box. I want to change the ZOrder of the last Horizontal Box on button press (Or even just in the editor would be fine), but I can’t since it’s using a Horizontal Box Slot.
I tried casting it to a CanvasPanelSlot at runtime, but that cast fails. Is there some other way that I should be handling this?