Asking the User a Question
The “ask (What’s your name?) and wait” block shows an input box on the Stage. Whatever the user types is stored in the special variable answer.
Example: Personalised Greeting
- When 🏁 clicked → ask (What is your name?) and wait
- say (join (Hello, ) (answer)) for (3) seconds
The cat greets each user by their typed name. The join block (Operators) combines two pieces of text.