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

Start learning →

Comparison Operators (<, =, >)

📌 What you will learn

Understand Comparison Operators (<, =, >) in Scratch with clear examples so you can reuse the exact same logic in games, exams, and future languages.

Core idea in plain words

Comparison blocks evaluate two values and return true or false, powering win scores, boundaries, and timers.

  • 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

Remember that "10 > 10" is false! To test "10 or more", use "(score > 9)" for integers or "(score > 10) or (score = 10)".

Continue learning

Understand Comparison Operators (<, =, >) 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.