How-to
Ask the player to type something
Use an Input card to let the player type an answer, such as their name, and keep it in a text tag.
Before you start
- Make a value tag to hold the answer, with Tag Type set to Text, and give it to the adventure: Value tags, Adventure details › Tags.
- Open the text event where the question goes.
Steps
Drag Input from the Add panel onto the canvas. A card called Input appears, selected.
Press
Enter, type the question, such asWhat's your name, stranger?, then pressEsc.In the inspector, click Select Tag Storage. In the Pick target by logic window, click Adventure, then Tags, then your tag, then Save.
Click the In Game Label box and type a hint for the empty field, such as
Your name.
Lead the player to the card. Select the card before it and click its On Tap Logic row. If the Logic List window has a Go To line already, remove it with ✕. Click Add; in the Result window, next to Outcomes, click Add; then click Navigation, Go To Input and Input. Click Save in each window.
Lead the player on. Select the Input card, click its On Submit Logic row, and add a line the same way: Navigation, then Go To Text or Go To Choices, then the next card.
Check it worked
Under Select Tag Storage, the inspector reads Target = Adventure Tag and your tag's name.
Play-test: the question shows with a field under it, and the field shows your hint while it's empty. Click the
field, type an answer and press Enter: the next card follows, and the tag holds the answer. To show it in a later
line, see Show a tag's value in a line.

Good to know
- Input Type and Character limit narrow what the player can type.