Page 109 - KEC Khaitan C3 Flipbook
P. 109
EVENTS, SOUND, AND CHAPTER
BASIC ANIMATION C2
LEARNING OUTCOMES
The student will be able to:
use events blocks to trigger actions in Scratch.
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.
Events, Sound, and Basic Animation 107

