How do i check the text in a LineEdit node?????????

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

Ive looked everywhere and i cant find anything. pls help I tried $LineEdit.text but that doesn’t work. i need this I just need to check what the text is in a linedit node.

:bust_in_silhouette: Reply From: jgodfrey

As documented here, the text property IS the correct way to access the contents of the LineEdit node. So, if your LineEdit node is named LineEdit and it’s the direct child of the node containing the script, the code you show above will work. If it’s really not working for you, you’ll need to provide some more details.