The "Ask () and Wait" Block
- 
					
					
					
					
 PrerequisiteDescriptionThe Ask() and Wait block is a Stack Block in the Sensing Category. It is used to ask a question and wait for the answer. 
 How does the Ask() Block Work?When you click on the Ask() block, it shows a Speech bubble (Dialogue Box) just like the “Say Block”, and also shows an “Input Box” at the bottom of Stage. 
 The Input Box and Speech bubble will stay on the Stage and wait for you to type an “answer”.  
 How to Close the Input Box?You can type an answer in the Input Box or leave it blank. To close the Input box you need to click the “checkmark” or press “ENTER” on your keyboard.  
 How to check the Answer?With “Answer” Block:If you want to see the answer on Stage, you can check (click) the “Checkbox” in front of the “Answer” block in the Sensing category.  With “Say” Block:You can also put the “Answer” block in the “Say Block” to show the Input box answer in a Speech bubble.  
 Ask() Block with an Empty InputIf you use the “Ask() and wait” block with an empty input, it will only show the input box at the bottom.  Stop Asking and Close the Input BoxSometimes you may not want to wait for the user to type in the answer. You can use the “stop asking” block to close the input box:  The Blocks Below “Ask() and Wait” Block Will WaitIf the Input box is open on Stage, the blocks attached below the “Ask()” block will not run until the Input box is closed.  
 
- 
				Pinned byinfo-creaticode