Coding · keep and reset a stored value

Keep a click score with a Scratch variable

A score lets a program remember something that happened earlier. Build a small click counter so your child can watch that stored value change one step at a time. The useful question is not how quickly anyone can click, but what number should be stored after a particular sequence. Parents can make the reasoning visible by pairing each on-screen test with a short paper record.

2 reviewed starting pointsIndependent editorial guide
Scratch homepage showing its project-creation invitation and colorful coding illustrations
The quick answer

Why these resources fit

Scratch provides visible variables and separate blocks for setting a value and changing it by an amount. Code.org's Using Variables with the Artist gives a different example of a named value controlling a program. Choose Scratch for this counter; choose the Artist lesson as an optional comparison of how a variable can be used. It is not a Scratch tutorial. The counter adds remembered state to a project, going beyond choosing a story branch or starting a script from an event.

Reviewed starting points

Resources worth comparing

Browse Coding →
A practical way to choose

Make the shortlist fit your family.

This guide draws on directory reviews. Age fit, costs, sign-in, advertising, privacy, and accessibility are unconfirmed for individual activities. Check the provider’s current information and preview the activity with your child’s device.

01Check the age and skill fit
02Choose a format that fits today
03Preview before handing it over
Questions parents ask

Before you choose