Starting the Dance

Now, we are going to use another Computational Concept: Events. In Scratch, we often use Events to respond to different User Input, such as when a key is pressed.

We are going to use the when key pressed block in Scratch, to make the Cat start dancing after we press the space bar. To do this, add a when space key pressed block at the top of the stack of blocks, as shown below:

Now, when you press the space bar key, the Cat should start dancing.


Views
1 Total Views
1 Members Views
0 Public Views
Share on Social Networks
Share Link
Share by mail

Please login to share this webpage by email.