Stay Inside the Lines

Game Design - Maze Game (Activity 3)

Video speed:

Overview

In this video, you will use "if" blocks to keep the sprite from touching the edge of the maze.

Instructions

  1. Add an “if” block.
  2. Make the “if” block check if the sprite is touching the the color of the boundary.
  3. If the sprite is touching the boundary, make it return to its starting point.
  4. If the sprite touches the boundary, stop all code from running.

X

Hey, club member! Sign in to get a badge for each activity you do!