stoneskin

learning coding with Scratch , Python and Java

3 Variables in Scratch

3.1 Define and View Variables

The simple example of variables is a box with number in it. and the number can be increased and decreased and changed by your scratch block.

3.1.1 Build in variables

There are many variables in Scratch you are using in scratch programing.

3.1.2 Create you own variables

There is section for variables in scratch for you to create your own variables. variables

3.2 Scope of Variables

Use the Make Variable box you could create a new variable new variables

And you could see there are some different options

3.3 Type of Variables

3.4 Operators

3.5 Set Variable value from input

3.6 Project of Class

Build a scratch project, let user input some info, and your project will run base on user’s input.

examples:

References