Customize Attributes

Animation - Parallax (Activity 4)

Video speed:


In this video, you will change the speed of the objects based on their distance from the character. Objects that are farther away will move more slowly than objects that are closer. 


  1. Set the costume and height.
  2. Create a distance variable, and set the distance.
  3. Set the size and speed of the sprite to be inversely proportional to the distance.


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