displaying name from input into text

I’m trying to have someone enter a name into an input screen and when they click the button a random thing will show in the text box with the person’s name entered into the text. I think I’m pretty close but I don’t know how to tell it to get the name. here is what I have so far.

let me try to explain it better. I have everything working but displaying the name. I want the person to enter a name and when curse displays it will say their name. I don’t know the code for the name to be entered and then displayed with the ${name} I just need to know how to have the name entered register as the ${name}. I know I’m not explaining it well.

Assuming that the name is entered in a TextInput component, you can retrieve the name using the value property:

let name = $w("#name").value;