Children of vertical box do not appear

But… weren’t you using a widget component for this?

I did not find a way to set a reference to my UI from the widget component :confused:

I’m really sorry if I’m doing something wrong, it’s the first time I work on 3d widgets …

Fear not, I got ya:

Essentially, the component holds onto a widget - it maintains its lifespan automagically; it will create it and destroy it as needed.

We need to dig into the component to get that 2d widget. You can then right click the pin on the cast node (green arrow) and Promote to Variable.

From now on, you can access the widget directly. Use this reference to get the vertical box.


What I think was happening - the component had a widget already but you were creating an additional 2d widget and manipulated that new widget’s vertical box, not the one the component had.

A bit of a guessing game but that’s my best bet at this point. Do tell how it goes!

That’s what I thought. I simply didn’t know about the get widget node lol

Thanks for your time :slight_smile:

1 Like