Page 64 - IT_V5.0_Class7
P. 64

7


















                     WHAT ARE BLOCKS?

                  Blocks in Scratch are like jigsaw puzzle pieces that connect vertically to create code. Each block
                  type has a unique shape and slot. Drag blocks into the coding area to form a script, which is a
                  series of connected blocks. Scratch 3.0 has nine main block categories. Let us discuss each of
                  these categories one by one.

                  Motion Blocks

                  These blocks control  the  sprite's movement, letting  it move or  turn. Scratch 3.0 includes 18
                  Motion blocks.

                   Block                             Explanation


                                                     Moves the sprite a specified number of steps forward.



                                                     Rotates the sprite clockwise by a specified number of degrees.



                                                     Rotates the sprite clockwise by a specified number of degrees.


                                                     Moves the  sprite  smoothly  to  a  random  position or  the
                                                     mouse-pointer, depending on the selected option from the
                                                     drop-down.

                                                     Moves the sprite to the specified x and y coordinates.


                                                     Moves the sprite smoothly to a random position within the
                                                     given time.

                                                     Moves the sprite smoothly to the specified X and Y coordinates
                                                     in the given time.


                                                     Points the sprite in the specified direction.





                    62    Information Technology (V5.0)-VII
   59   60   61   62   63   64   65   66   67   68   69