Loading...

Review the three event blocks.
Key Stage 1
Year 2
Computing
In this programme, I'm going to demonstrate the three types of event blocks. So the chicken here has got a green flag block. The lizard has a start on tap block. And the penguin has a start on bump block. Now, let's demonstrate all those. So when I press the green flag, the chicken's actions have started. The code ran there for this green flag, but the lizard and the penguin didn't move. So let's see why that was. So the lizard's programme will only start when I tap on the lizard. And as I do it now, you'll be able to see. So the penguin's code also started, let's see why that was. The penguin's code is a start on bump. That means when another sprite touches the penguin, the penguin's code runs. So when I tapped on the lizard, it bumped into the penguin. Let's run everybody's code all together so you can see how that looks.
Review the three event blocks.
Key Stage 1
Year 2
Computing
In this programme, I'm going to demonstrate the three types of event blocks. So the chicken here has got a green flag block. The lizard has a start on tap block. And the penguin has a start on bump block. Now, let's demonstrate all those. So when I press the green flag, the chicken's actions have started. The code ran there for this green flag, but the lizard and the penguin didn't move. So let's see why that was. So the lizard's programme will only start when I tap on the lizard. And as I do it now, you'll be able to see. So the penguin's code also started, let's see why that was. The penguin's code is a start on bump. That means when another sprite touches the penguin, the penguin's code runs. So when I tapped on the lizard, it bumped into the penguin. Let's run everybody's code all together so you can see how that looks.