UMG Button Dynamic Material Parameters

Hey guys,

I’m having a hard time trying to change a Paramater Value for a dynamic material for a UMG button. Specifically, I have assigned a material to the Normal style of the button component. In my event graph, I try to access like this:

the “ButBuildThrasher” is the button reference. The problem occurs where I cast to Image which fails. I’m not sure how to hook up the get dynamic material from the slatebrush image output.

I have used this for reference:

Thanks for any help!

I am also having problems using this method, as well as with Collection Parameters.

Is there a way to do this? I’m also trying to do this on the ProgressBars.

Ok, the way I did it for anyone else that has the problem. Create the dynamic material, apply it to the slatebrush, and store a reference to it. Then when you need to change it just use your reference to set the parameter.

1 Like