Keep Moving

Animation - Side Scroller (Activity 5)

Video speed:


In this video, you'll program the hero sprite to only move when walking forward.


  1. Add a new variable “x speed.”
  2. Make the conditional “if x speed is not 0,” then snap all the looks loop blocks inside.
  3. When the hero receives “forward,” have it set the x speed to 1, wait for a short time, then set the x speed back to 0.


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