Zmiany

Skocz do: nawigacji, wyszukiwania
/* Sensing */
Displays in a bubble the text entered in the block box, as well as a window with an edit box on the stage. It waits for input of data in the edit field and confirmation by pressing Enter or clicking in the edit box. The information entered by means of the keyboard is available in scripts with the use of the block '''answer'''.
 
'''Example:'''
 
[[Plik:M_3_96.JPG]]
 
 
The answer provided by the user, as the result of the block '''Ask and wait'''. It can be used as an argument in expressions. Checking the checkbox on the left displays the answer provided on the stage. Example: See the description of the '''Ask and wait''' block.
 
[[Plik:M_3_97.JPG]]
 
Checks if the key selected from the drop-down list has been pressed. This block is used most often in conjunction with one of the following blocks: '''if, repeat until, wait until'''.
 
'''Example:'''
 
[[Plik:M_3_98.JPG]]
 
Checks if the left mouse button has been pressed. This block is used most often in conjunction with one of the following blocks: '''if, repeat until, wait until'''.
 
'''Example:'''
 
[[Plik:M_3_99.JPG]]
 
The current value of this x and y coordinate of this mouse cursor. They can be used as an argument in expressions. These coordinates are also displayed below the lower right hand corner of the stage.
'''Example:'''
223
edycje