how can I get the player name or other information?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jerferson

I want to get the player name by asking his name in the main menu, but I don’t know wich node of the control’s child node to use. I want to make a box for him to type his name and a button to confirm. I’m begginer. Could someone show me a simple example of how to do that??

:bust_in_silhouette: Reply From: Cosine

Use a TextEdit node. Read the text with get_node("TextEdit").get_text().