NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Conditionals (If / If-Else)

📌 What you will learn

Understand Conditionals (If / If-Else) in Scratch with clear examples so you can reuse the exact same logic in games, exams, and future languages.

Core idea in plain words

Conditionals let a program choose different paths depending on live inputs, collisions, or variable values.

  • Predict the output on paper before clicking the green flag.
  • Build the smallest 5-block demo that isolates this single concept.
  • Explain in your own words why changing one value alters the result.

How to practice in Scratch

Use "if-else" when exactly one of two outcomes should run (e.g., Correct vs. Try Again in a quiz).

Continue learning

Understand Conditionals (If / If-Else) in Scratch with clear examples so you can reuse the exact same logic in games, exams, and future languages.

Programming Concepts Back to all core programming concepts. Learn more → Project Tutorials Apply this concept inside a playable project. Learn more →

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.