Hi I have a problem with UMG.
What I want to do is create a button in widget blueprint that when is clicked execute an action in an actor class blueprint.
What I’ve done:
1Create a custom event (antani)in my actor blueprint
2In the widget blueprint graph on clicked event I call that custom event(antani).
Nothing happen I can click the button but don’t execute(antani) in my actor bluprint.
anyone?After all,what i would like to do is simply having a widget button that work like a keyboard input.
Hello facco,
I believe you need to add a cast to “your actor buleprint” in the widget blueprint. I also have an example of a workaround for adding a “Press”, “Release”, and “Hold” function to a button in UMG. However, if you would like for your current setup to work all you will need to do is add a “cast to” node and set that up.
Here is my SuperButton example:
Make it a great day.