On/Off button. Change button appearance in UMG?


I am trying to make some on/off buttons in the UI of my project with UMG which may affect some of the scene objects. That is, a button that changes its associated image to reflect the fact that the button has already been pressed. The problem is that the button element in  UMG doesn't seem to have any mechanism to change its appearance (style) apart from changing color and transparency.

Since this kind of buttons are so common, I must be probably missing something.  Does anybody know what is the right way to achieve a style change in a UMG button?

 Thank you in advance.

You could use a checkbox/toggle box, and import your own images for checked and unchecked states.

It works!

Works like a charm. Many thanks you for your help!!