Widget functions with inputs?


If I try to add an input to a widget function I get a compile error saying “Error Binding: Property ’ TextDelegate ’ on Widget ’ TextBlock_81 ': Member:SetTextOfToolTip Has the wrong number of arguments, it needs to return 1 value and take no parameters.”

Is there any way that I pass a value when calling a widget function from within another blueprint?

As you can see I’m trying to change the content of a widget “text” object with a user defined name. How would I go about doing this if I’m not allowed to pass the name as an input when I call the function?

It seems kind of weird to me that I can add an input parameter even though this isn’t allowed.


Rather than taking in a parameter, create an exposed variable and plug it into the return pin.

Haha, that is exactly what I just came up with and it works perfectly. But I’m still wondering why you are allowed to add inputs to the widget fucntions when they give compile errors.