1 of 20

SCRATCH

CLASS 2

Session 3

2 of 20

Access the tool by clicking on the below link

3 of 20

Code Blocks

  • In this, Session we will learn how to code blocks

4 of 20

Why blocks are used ?

  • Blocks are used for coding in Scratch

5 of 20

Recollect :

  • Do you remember the Ladybug we discussed in last Session

6 of 20

We also created a duplicate bug with modification

7 of 20

Rename the costumes

8 of 20

Changing costumes

  • Now Let us code in such a way that When run is pressed, the bug keeps on changing its costume.

9 of 20

When clicked

  • Click Events
  • Drag and Drop

to script editor

10 of 20

Script editor

11 of 20

Switch costume to

  • Click Looks
  • Drag and Drop

to script editor connected with

12 of 20

Changes the Costume to 2

Click Flag

13 of 20

  • We need to change the costume of the bug continuously .
  • So Let us add one more block

14 of 20

Wait ___ Seconds

  • Click control
  • Drag and Drop

to script editor connected with

15 of 20

  • Click looks
  • Drag and Drop

to script editor connected with

Script editor

16 of 20

Script editor

17 of 20

  • Click control
  • Drag and Drop

to script editor connected with

18 of 20

Script editor

19 of 20

  • Click the green flag and You can see the bug changing costume

20 of 20

THANK YOU