Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to check if the user has typed anything into the textbox. If he did not enter anything, the button should be invisible.
Thanks much guys!
you can check if len(textbox.text) > 0, it means player has entered something.
yes, that's probably it ;-)
Now is another problem;
Because I have 3 text fields and the condition only works for the last one. This means that if the user does not enter anything in the first 2 text boxes, the system does not see this.
This is how to solve it:
R-click to make OR block and you don't need to put them in every tick.
It works great, even without "every tick" ;-)
Develop games in your browser. Powerful, performant & highly capable.
You could also detect text change. This way you could also have presetted text in your textbox