TV on a Rolling Cart

Scratch My Blocks, Part 3: Custom Blocks with Parameters

From Scratch

Scratch My Blocks, Part 3: Custom Blocks with Parameters
4 min4th5th6thTechnologyMath
access

Summary

A follow-up tutorial adding parameters -- fill-in-the-blank inputs -- to a custom block, so the same reusable block can behave a little differently each time it's used.

Viewer safety

All ages
Common Sense Media — not yet ratedIMDb Parents Guide — not yet rated

Our rating is a quick teacher-to-teacher guide — preview before showing.

Teaching resources

Discussion questions

Discussion

This video adds a fill-in-the-blank input to a custom block.

  1. What is a parameter, in your own words?
  2. How does adding a parameter make one custom block more flexible?
  3. What custom block from an earlier project could be improved with a parameter?

Quick work-a-long

Words to know: parameter, input, flexible.

Try it: Add a number parameter to a custom block and use it inside the block to control how many times something repeats.

Scratch My Blocks, Part 3: Custom Blocks with Parameters — TV on a Rolling Cart