How to spawn text in 3d widget canvas on button press?

Hello,
I want to create a 3d widget that has different buttons that are able to be clicked on which would then result in text showing up.
for example: if i click on a button that says ‘details’ then text that i have written will appear on the 3d widget canvas.

I want something like this

I have tried following the video above but since it’s not a tutorial from scratch, i have been struggling with following i.
Thanks

Pressing a button can simply change the text like so:

You can select a text block and expose it as variable at the very top of the details panel.
Which part of what you want to achieve are you having problems with precisely?

To directly answer the question in the topic: for something as simple as showing the text at a button press, you do not need to spawn anything. It’s much easier and convenient to put the ready text in the box and show it instead. In this case pressing a button will change the Visibility of the Text Block.

Spawning is handy when you do not know how many elements you will need in advance.

Thanks for the reply, however this happens when i try to use ‘set text’

Text Render Component (Target of this node) is very different from widget text block.

You should take advantage of the context sensitive nature of the node filtering. Instead of placing a SetText node, drag a wire from TextBlock150 and search for SetText - this will always get you a compatible option.

But what you really what to do is something I described above - simply show the text block (that you previously filled with text):

227295-capture.png

When you design the menu, keep the text blocks Hidden, pressing a button will show the text.

Wow, i didn’t think about doing it that way, completely overlooked it. Thanks for the help!