0 votes


I have a line edit like this below:

onready var Username : LineEdit = $"/root/RegisterScreen/Menu/UserContainer/VBoxContainer/Username"

and i want the user to have a minimum character count set, so username has to be more than 4 characters, so i tried to do the above code... with an if statement...

but not sure what property to use for line edit... i looked on Godot documentation, but nothing stood out that was simple... any idea?

in Engine by (64 points)

1 Answer

0 votes

sorry again everyone, found it:

if str(Password.text).length() < 6
by (64 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.