Programmatic Widget creation and Onclick binding

Thanks for the fast answer. But I don’t fully get it.

First I cannot add a OnClicked Button 331 like you, as this button is not a variable, it is programmatically added.

Then I don’t have on initialized.
image
and even if I have it, I really want to take action when the button is clicked, not initialized.

I’ve created my own dispatched, and was able to add the correct parameter, but I’m lost in what I need to do with it.

For now I’m stupidely adding it like this, but I’m never using the argument / input… so that’s useless

It would be more logical to listen to that event in my actor blueprint… so i’ll read more on dispatcher