How can I change the material of a button in runtime with BP??
Set brush methods are for images and I don’t want to add an image to my button
How can I change the material of a button in runtime with BP??
Set brush methods are for images and I don’t want to add an image to my button
go to appearance/style section of the button:
you will see it has normal hovered and pressed…you can expand those
here I set normal state with a breush material
to do via blueprint is with this node:
and then if you expand the style node you have the same 3 states and
you can set there like this:
buttons materials must have user interface domain on it like this:
cheers!
Dany
Thanks man