User Guide
Table Of Contents
82
• To increase or decrease the amount of an effect that
is applied to a sprite, use the change ? effect by ?
block.
• To remove all active effects from a sprite, use the clear
graphics effects block.
All sprites have two variables related to their appearance:
You can choose whether Scratch should display these variables
on the Stage. To show the value of a variable:
• In the Blocks Palette, click the box next to the
variable name.
Click the box again to remove the variable from the Stage.
4.3 Arithmetic and Variables
In the Operators section of Blocks Palette, there are eight blocks
that you can use to perform basic math operations, such as
adding two numbers together. These blocks are eight-sided,
green blocks and they fit into any other block that accepts a
number.
Variable Description
costume # The number of the costume that is currently
displayed for this sprite.
size The size of a sprite on the Stage. This is a
percentage of the size of the graphic used to
create the sprite, and it can be greater than 100%.
Block Description
? + ? Adds two numbers together.
? - ? Subtracts the second number from the first.
? * ? Multiplies two numbers together.
? / ? Divides the first number by the second.