Changing the Materials using UMG Buttons

Hi Teapot.

The cone variable is in the spawned widget not in the cube blueprint. Drag a pin out from the create widget pin and use the set cube function. the target will be your spawned blueprint and the cone (or in your case cube) will be self (since the blueprint is made from the cube)