Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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.
Develop games in your browser. Powerful, performant & highly capable.
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" ;-)
You could also detect text change. This way you could also have presetted text in your textbox