Page 82 - Trackpad_V1_Book 4_Flipbook
P. 82

Blocks                                        Functions



                                                       This block  pauses  the  running of the  script  for the
                            wait  1 seconds
                                                       number of seconds.


                            repeat   10
                                                       This block repeats a set of blocks for a given number of
                                                       times.




                                                       This block  keeps  on repeating  a set  of blocks till  the
                            forever
                                                       stop button is clicked. It is similar to repeat block and
                                                       expands  automatically  to  accommodate  the  blocks
                                                       you snap inside it.






                          uiz   Bee        Which block category instructs the sprite to play music?
                                           ______________________________________________________







                           OPERATORS BLOCK


                  Scratch allows us to perform arithmetic and logical operations. It provides this feature
                  through Operators blocks. These blocks are light-green in colour.


                  ARITHMETIC OPERATORS
                  Scratch has four operators that allow you to do arithmetic calculations. These are addition,

                  subtraction, multiplication and division.




                         Blocks                 Meaning                               Examples





                                                                    when    clicked
                             +            Addition                  say The sum of 100 + 50 is  for 2  seconds

                                                                    say  100  + 50







                   80   Trackpad (Version 1.0)-IV
   77   78   79   80   81   82   83   84   85   86   87