Change material color by clicking on UMG Button?

Hey Guys :slight_smile: ,

i got an issue i cant solve… i already searched for hours -.-

I simply want to change the emissive color of a material used by a static mesh in my scene.
This should happen if a button on my widget blueprint is clicked…

Well… I made the material changing its color using it as a matinee actor in my level blueprint with “Event BeginPlay”.

But the problem is: i cant use “OnClicked Button” directly in the level blueprint.

How can i bypass that?
Can anyone point me in the right direction please? :frowning:

Here is a way to do it via Level_BP

Thank you for your help

hey can i know how do we get that target mybutton thing

64531-screenshot_4.jpg

how to get the thing which is there in the image, please help me with this, i got struck here

64531-screenshot_4.jpg

hey please can you tell me how to create or get that node which is there in the image,

It’s the button name in your widget