How can I conditionally branch on the length of text entered in TextInput()?
Posted: Sun Nov 13, 2022 10:00 pm
Hi,
If the player entered only one character as his/her name in the text input field, I would like to have a NPC ask the player something like "Are you sure?” How can I set the condition by the length of text entered?
If the player entered only one character as his/her name in the text input field, I would like to have a NPC ask the player something like "Are you sure?” How can I set the condition by the length of text entered?