Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.

2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

3. Student and Teacher User Guides |  Schemes of Work |   Real Teacher use Videos |


Join 30000+ teachers and students using TTIO.

Scratch Variables

A simple way to think about variables is a box with numbers in it. These numbers can be increased and decreased and made to control various parts of a project.

PowerPoint

Suggested Video

How are Variables made?

In the variables palette, click Make a var.png. A box will appear. Type the name of the wanted variable, and select whether it should be "for all sprites" (global) or "for this sprite only" (private). Press OK.

What can be done with Variables?

Variables have theoretically infinite uses. One of the most common is to simply store values — this only requires the Set () to () block and is not hard at all.

 

www.teachyourselfpython.com