Spawn an Image Button Widget in a Canvas

Very new to Blueprints, so not really sure how this works fully. But I have an Image Button Widget that, when onClicked, I want to Spawn another Image Button on the same Canvas at a Random Vector. I’ve tried toying with it, CreateWidget, RandomVector, etc. but I just can’t seem to figure it out.

Could you clarify what that is? Just a button? Or a user widget with a button inside?


One way or another, it would probably look close to:

yeah, its just a Button with an image on it, and I wanted to create another button with an image on it.

I think I am missing some stuff tho… I can’t seem to find many of the nodes you are using

Right click the blue Return Value pin and split it.

sweet, just 1 more thing, how’d you Get the Canvas variable here?

Select the canvas and flag it as isVariable at the top of its details panel. You can then drag the var into the graph.

1 Like