User text input

Hello, I want to create a system where the user enters a word and if that word is inside an array it comes out as true
Any idea how I can do it? Thank you so much

You can easily achieve this using a LineEdit

The documentation contains all the necessary functions and what they do to make this happen.

And the array has a “has” function as well

Are you having a problem with the data entry? Matching the entry with array data?

No, I was just thinking about making a game and I wanted to start seeing how to create it.

Thank you very much, I will give it a check and start creating

1 Like