answer — Scratch Block Guide
Reporter holding the most recent text submitted to "ask and wait".
What this block does
Reporter holding the most recent text submitted to "ask and wait".
Compare user input or greet players by name using "join".
- Category: Sensing Blocks
- Key tip: Copy "answer" into a variable if you plan to ask multiple questions and remember earlier replies.
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 Your name? and wait
- Say (join Hello, answer) for 2 seconds
Try it: Greets the user by the exact name they typed.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "answer" in Scratch?
Compare user input or greet players by name using "join". Copy "answer" into a variable if you plan to ask multiple questions and remember earlier replies.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.