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

Start learning →

Functions & Modularity

📌 What you will learn

Understand Functions & Modularity in Scratch with clear examples so you can reuse the exact same logic in games, exams, and future languages.

Core idea in plain words

Functions (My Blocks) give a meaningful name to a group of steps so large projects stay readable, reusable, and easy to fix in one place.

  • 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

Extract repeated "reset player" or "play damage effect" code into a custom block called from multiple places.

Continue learning

Understand Functions & Modularity 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.