Page 65 - 2501_KVS_C-5
P. 65
6.2.2 “set… to…” block
This block is a “stack” block and used to give some value to the variable. This block
has a drop-down menu, which has 4 options:
6.2.2.1 “my variable”
This is an already created variable in scratch, and can be used anywhere in scratch.
6.2.2.2 “rename variable”
This option is used to change the name of the variable created by us.
6.2.2.3 “Delete the…variable”
This option is used to delete the variable created by us.
6.2.2.4 “Names of variables created by us”
This option is used to change the value of the variable created by us to a specific
value. E.g. “Set score to 0” will give the value 0 to the “score” variable.
6.2.3 “change… by…” block
This block is also a “stack” block, and is used to change (increase or decrease) the
value of the variable by some specific value. E.g., “change score by 1”, will increase
the value of this variable by 1.
6.2.4 “show variable…” block
This block is also a “stack” block, and is used to show the variable and its value on
the stage, when required.
6.2.5 “hide variable…” block
This block is also a “stack” block, and is used to hide the variable and its value on the
stage, when not required.
6.2.6 “my variable” block
This is a “reporter” block and round in shape. This block returns the value of “my
variable” variable created already in scratch. Same like that other blocks are also
created for all the variables created by us in our scratch project.
Scratch 63

