UMG Buttons to Set Materials on a Mesh?

I have a simple blockout shape of a water fountain object made into a blueprint. In its blueprint, I went in the graph and created an event so that when I click on the base, it calls up a widget I created. The widget is a basic menu that has 3 buttons. I attempted to add an “on clicked” event for the first button, so that when it’s clicked, it changes the material of the base to something else. However, it doesn’t seem to do anything when I test it out, and I received no errors. Perhaps I’m missing something else? Any help would be appreciated.

I attached some images of my setup.

Thanks!


Finally found the answer I needed on this thread: