Download

Create one widget from a class

Hi,

Is there a way to create only one widget from a class when calling Create Widget? For example, I have a widget BP with a horizontal box and a wrap box, and on button click I want to create the horizontal box only like in the second pic from this link: https://forums.unrealengine.com/showthread.php?49644-UMG-Drag-amp-Drop-capturing-mouse-events&p=164942&viewfull=1#post164942. That is, I need an input pin for the Create Widget node.

Thanks.

As far as I know, this is not possible. Using the Create Widget node simply creates the entire widget.

I’ve been faking it by creating the widget, and then setting the visibility of individual components.

That’s smart, thank you very much :slight_smile: