Helping kids everywhere create what they imagine

Conditional Statements

Conditional Statements

Have you ever wanted to create a Scratch program that is interactive or offers multiple outcomes? Some Scratch programs are static: the outcome is fixed and the same thing happens each time. Some are dynamic: they are capable of action or change each time they are run. In order to create dynamic programs, the programmer can use conditional statement blocks (in the Control blocks category) to give instructions on how the project should respond in different circumstances.

Related Resources

Variables and Lists
Variables and Lists

Have you used Variable or List blocks in a Scratch project? They can be a powerful tool when you are creating customized programs. Perhaps you have used a variable to store a game score, but did you know a variable can hold numbers or text (also known as a “string”)? And if you are storing a lot of custom information, using a list may be more efficient than creating multiple variables. Let’s explore what variables and lists are, and see a number of ways they can be used.

Learn More
My Blocks Custom Blocks
My Blocks Custom Blocks

Have you seen the “My Blocks” category in the Scratch blocks palette? When you click on it, no blocks are present until you create one. Let’s explore how to create a customized block and when and why you might want to use them.

Learn More
Operators
Operators

Use operator blocks to create math games, join text to information stored in variables, complete conditional statements, and more!

Learn More