Type Input Check

Hello Gdevs!
I am Trying to create a Login System in game,but the problem is that I also put a Login button.
What want to do is to make the Login Button being able to click only when the email and password is put in text, but i cant find the right code!
Any ideas?

Start the scene with the login button disabled. Add 2 events, one for when text is entered in the emails text box, the other when text is entered in the password text box. In each event, check whether the other text box has text in it. If it has, enable the login button.

I know that but i cant find the code.
what will the code be?

2 Likes

Thank You!Apperciate it.