concept number in category scratch

appears as: number, numbers, numbers, The numbers, The number
Hello Scratch!: Learn to program by making arcade games

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.
  • Figure 11.42. You can always place blocks inside any space where you can type a number.
    sitemap

    Unable to load book!

    The book could not be loaded.

    (try again in a couple of minutes)

    manning.com homepage
    test yourself with a liveTest