concept number in category scratch
appears as: number, numbers, numbers, The numbers, The number

This is an excerpt from Manning's book Hello Scratch!: Learn to program by making arcade games.
Operators blocks solve math problems within Scratch, making quick calculations as the game unfolds. Math is what makes the program run because numbers are a constant in the computer world.
Click the Pick Random 1 to 10 block. When I clicked it, I got 3. When you click it, you will see a number between 1 and 10. Click it again to see a new number between 1 and 10.
Place a Change X by 10 (Motion) block inside each If/Then block. Change the number in the first Change X by 10 block to –10. This will move the wizard 10 coordinate spaces to the left. You don’t need to make any changes to the second Change X by 10 block because positive numbers move toward the right.