Automaticaly add a image to an Widget Button

Hello guys,

I was able, with help from you guys, to create a widget button that is automatically created equal as the number of an array. As an example a BP that would change the material of one actor. I set an array of materials and when interacted the widget would create a number of buttons equal to the number of array elements that I’d set:




As you can see its working, but now I can’t figure out how to apply that material in the button so it would “preview” the material in the button, it could be a sphere with the material applied to it.

Similar with that problem, in another BP that I have with the same logic, but in this one it changes one object for another, and I would like to preview that object - that’s a mesh - in this buttons!

For what I could figured, the material one its a little easier, but i didn’t managed to do it. I’m getting in to the widgets blueprints recently, so maybe its a easy task, if it is I’m sorry.
Thank you guys for helping me.