ask (What’s your name?) and wait — Scratch Block Guide
Shows a text input box at the bottom of the stage and pauses until the user presses Enter.
What this block does
Shows a text input box at the bottom of the stage and pauses until the user presses Enter.
Build interactive quizzes, personalized stories, calculators, and save-code loaders.
- Category: Sensing Blocks
- Key tip: The latest response is always stored in the blue "answer" reporter block.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Ask What is 6 x 7? and wait
- If (answer) = (42) then
- Say Great job! for 2 seconds
Try it: Checks the player’s typed response automatically.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "ask (What’s your name?) and wait" in Scratch?
Build interactive quizzes, personalized stories, calculators, and save-code loaders. The latest response is always stored in the blue "answer" reporter block.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.