Events & Interactivity
Summary
This chapter covers event blocks that trigger scripts, including when green flag clicked, when key pressed, when sprite clicked, and the broadcast and receive message blocks that let scripts communicate. Students learn to handle keyboard and mouse input and to think about a program as event-driven rather than purely sequential. It builds on the editor knowledge from Chapter 2 and the scripting and script-coordination concepts from Chapter 3. After completing this chapter, students will be able to build interactive projects that respond to user input and coordinate scripts through broadcast messages.
Concepts Covered
This chapter covers the following 14 concepts from the learning graph:
- Event
- Event Block
- When Green Flag Clicked
- When Key Pressed
- When Sprite Clicked
- Broadcast Block
- Receive Message Block
- Mouse Input
- Keyboard Input
- Event-Driven Program
- Triggering A Script
- User Interaction
- Input Handling
- Sensing User Input
Prerequisites
This chapter builds on concepts from:
TODO: Generate Chapter Content