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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I have a text box where digits are required to be entered. A button uses the condition "On text changed" to be created. How do I create a condition for the button to appear only if at least 6 digits are entered in this text box?
Compare Two values
System: len(TextBox.Text) > 6 - do your actions
Develop games in your browser. Powerful, performant & highly capable.
works great. thank you!
now I am trying to enter a subevent saying -
if text is less than 6 set button invisible, but the button becomes invisible exactly after I eneter the first digit. How do I combine these two conditions?
Edit: Looks like dropbox have some issues currently so
+ System: len(TextBox.Text) > 6
+ Trigger once -> Button: Set Visible
+ Trigger once -> Button: Set Invisible[/code:3c77qyyn]
this looks and works soooo nice!
now I know even more about c2