Lesson 20 - Variables

 

Objective: To learn how to create variables and to set or change their values, with local and global scope.

 

 


Tutorial: Variables

Scratch Activity: Reproduce the actions in the tutorial. Experiment by modifying the settings and parameters used in the tutorial.

 


Extensions:

Experiment by setting the color of the sprite using variables.

Experiment by drawing squares using variables.

Experiment by controling the speed of a moving sprite using variables.

Experiment by playing different sounds using variables.