-
Introduction
-
Introducing Scratch
- Scratch Ideas
-
Activities Overview
- Scratch Activities Project
-
Algorithms and Programs
-
Write an Algorithm
-
- Sequences
- Loops
- Data: Variables
- User Input
- Conditionals
- Conclusion
Starting the Dance
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 by mail
Please login to share this webpage by email.