Yes exactly, I’m not at my pc now but I think it’s something like
CreateWidget(this, UCustomUserWidgetClass);
UCustomUserWidgetClass Being the reference to the blueprint then adding the widget to the widgetcomponent or maybe you get the widget from the widgetcomponent after it has created it when you need it… yes I think that’s it, I will be able to take a look later tonight.