Color Sensing

Create a project that uses a touching color block.

Computer programs often have to make decisions based on certain criteria, or conditions. In this project, students explore color sensing and conditionals, making decisions based on the color that a sprite is currently touching. Color sensing can be useful for bounding where a sprite can travel on screen, which can be used to create mazes (to prevent sprites from going through walls) or platformer games (to prevent sprites from falling through the ground).

This module is available as Google Slides. You can preview the slides, edit the slides by making a copy, or download the slides as a PDF.