Page 71 - modular4.0
P. 71

Chapter Profile
                 Sensing an Input

                 To use sensing blocks in a script, follow the given steps:


                                                                                    1  Insert a sprite, Penguin2
                                                                                    on the stage.






                     2  Click on the Trash button
                     to delete the cat sprite.





                                    4  Drag the ask block to the script     3  Add a new backdrop to
                                   area from Sensing block category.       the stage, Arctic.
























                                           6  Place the answer block inside the say
                                           block from sensing block category.            9  Click on the script.












                     5  Drag the say block from the Looks
                    block category and attach it below the
                    ask block.                                  7  Click on the checkbox     8  Give the number of
                                                                before the answer block.     seconds  as  per  your
                                                                                             choice in the text box.









                                                                                           Creating a Game in Scratch  69
   66   67   68   69   70   71   72   73   74   75   76