Page 67 - 2501_KVS_C-3
P. 67

Aryan: Wow! It’s very interesting dear. Can we also move the sprite “cat” or
                      not? How can we do it?

                     Gowri: Yes, dear Aryan, surely, we can do it.

                 1.     We can move the sprite by mouse also. Drag and drop the sprite by mouse, on

                      the place where you want to move it on the stage. OR
                 2.   We can also move the sprite, by giving instructions to the sprite using blocks of
                      instructions.


                 6.4 DRAG & DROP AND BLOCK OF INSTRUCTIONS

                      Aryan: Drag and Drop and Blocks of Instructions… Oh… What are these?
                      Please tell me more about these two terms and also tell me how we can
                      give instructions to sprite?

                      Gowri: Sure! Sure! Aryan. These are very simple terms. Let’s understand
                      them, one by one.

                                                                      Blocks of Instructions









                                                            Drag and Drop

                                                                                      Script
                                                                                       Area





                                                                     Block Palette








                                                               Fig. 6.4

                 6.5  MOVE THE SPRITE—USING BLOCKS  DIRECTLY OR BY

                       WRITING SCRIPT

                      Aryan: It sounds very interesting… I want to move the sprite towards Banana. I am very much
                      excited to learn this. Please tell me the steps.

                      Gowri: Ok let’s learn it, but for writing a script or code in the script area, we
                      have to choose the sprite for which we are writing the script.  (Fig. 6.5) Let’s
                      learn the steps now: -


                                                                                    Scratch-1                       65
   62   63   64   65   66   67   68   69   70   71   72