![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Cakee |
I am trying to do a password system where another node will appear if the length of the lineedit has not reached 8 characters.
What i’ve done is:
func _on_Sprite2_text_entered(new_text):
var length = len(new_text)
if length < 8:
get_node("Sprite1").appear()
else:
pass
(sprite 1 is the one I want to appear while sprite 2 is the lineedit).