Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 106 - KEC_2615
P. 106

    EVENTS, SOUND AND                                                                      CHAPTER

                      BASIC ANIMATION                                                                        C2

                         LEARNING OUTCOMES

                        The student will be able to:
                            use events blocks to trigger actions in Scratch.
                            learn about sensing blocks.
                            utilise sound blocks to add and control audio in projects.
                            apply loops to repeat actions efficiently in Scratch.
                            create an interactive Scratch project using learned concepts.

                      In the previous chapter, you learnt that Scratch uses blocks that can be dragged and
                      combined to create a project. In this chapter, you will explore different categories
                      of Scratch blocks that help make your projects more engaging and interactive.

                      Let’s get started!

                                EVENTS BLOCKS

                      They are colour-coded light yellow and include blocks that detect events to trigger

                      scripts, such as when a sprite is clicked, a key is pressed or the green flag is clicked.
                      These blocks are placed at the top of a script and determine when it starts running.

                                  Blocks                                           Function

                                                       when Green Flag clicked block starts the script when
                                                       the green flag is clicked. This is commonly used to begin
                                                       a project.

                                                       when  () key  pressed block  triggers  the  script  when

                                                       a specific  key  on the keyboard  is pressed. Useful for
                                                       interactive controls.

                      104   Premium Edition-III

| 101 102 103 104 105 106 107 108 109 110 111 |