Skip to content

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:

  1. Event
  2. Event Block
  3. When Green Flag Clicked
  4. When Key Pressed
  5. When Sprite Clicked
  6. Broadcast Block
  7. Receive Message Block
  8. Mouse Input
  9. Keyboard Input
  10. Event-Driven Program
  11. Triggering A Script
  12. User Interaction
  13. Input Handling
  14. Sensing User Input

Prerequisites

This chapter builds on concepts from:


TODO: Generate Chapter Content