Jump to content

User input/Graphical: Difference between revisions

Scratch example now on Scratch website
(Scratch: reworded with different terminology)
(Scratch example now on Scratch website)
Line 851:
 
The Sensing block "ask _____ and wait" pops up a word balloon with a question in it and waits for user input. The input is returned in "answer," essentially a special variable. It can be treated as a string or a number, depending on context. "Answer" cannot be modified, but its value can be stored in other variables.
 
A [http://scratch.mit.edu/projects/L2G/1607868 slightly fancier version of this example] can be tried on-line and downloaded.
 
[[File:Scratch_User_Input_Graphical.png]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.