Download

Widget Button Swap, How?

I have a simple single button inside a Widget Blueprint. I simply want to change the button’s image to another image when the button is clicked. I am thinking inside my Widget’s blueprint, I need to tell the “OnClicked” button event to (do something that changes the button’s image), but I am not sure what to put here. I found a “Make ButtonStyle” struct, but uncertain how this should connect to my button.

Any suggestions?

Thanks!

Something like this should work (though in this case all the styles except Normal would presumably be reset to default or none).

Ross,

Yes, I manged to set something up identical to this! Thanks for the feedback!