Page 59 - modular4.0
P. 59

Chapter Profile
                 Control Blocks

                 Control Blocks are used to repeat and pause the character. Some of the commonly
                 used Control blocks are:

                    Wait            :  Pauses the script for a
                                      specified amount of time
                              10
                                      (in tenths of seconds).


                    Stop            :  Stops all the characters’
                                      scripts on the stage.



                 Sound Blocks

                 Sound Blocks are green in colour. They control the sound functions. Some of the

                 commonly used Sound blocks are:


                    Pop           : Plays a ‘pop’ sound.
                             pop

                    Play Recorded Sound                 :  Plays a sound recorded by the user.
                                                    1


                 Events Blocks

                 Events Blocks control how the blocks in a script will start to run, if a particular action
                 is done. They are yellow in colour. Some of the commonly used Events blocks are:



                    Start on Green Flag               : Starts the script when the Green Flag is tapped.



                    Start on Tap              : Starts the script when you tap the character.






                          Recap



                       ScratchJr blocks are divided into different categories based on their functions.

                       Motion blocks are used to control the movement of a character.
                       Looks blocks are used to modify the character’s appearance.
                        Events blocks control how the blocks in a script will start to run, if a particular action
                       is done.






                                                                                                  Blocks in ScratchJr  57
   54   55   56   57   58   59   60   61   62   63   64