I’m wondering if it’s possible to call the Widget ‘onbuttonclick’ event inside of an Actor BluePrint.
I’ve created a Widget BluePrint, with some buttons. But I want to script the functionality in an actor blueprint, for these buttons. I managed to create the following set-up:
You can see that I call a custom event ‘Item1Clicked’, that requests a Brush variable ‘image preview’. Now I want to set this brush variable onto the actor blueprint, so that I can easily duplicate the functionality and modify it in the world outliner.
I can get this working by calling a keypress event like so:
The problem is, I don’t want to call this event when pressing “M”, or any other key. I only want to call this when I’m clicking on that widget button. But I don’t know how…
I hope I provided enough info,