Skip to content
Variables in Games · Spring Term

Sensing and Conditions

Using input sensors like mouse position or color touching to trigger conditional code.

Key Questions

  1. Explain how sensors act as the 'eyes' of a computer program.
  2. Analyze the relationship between a physical input and a digital decision.
  3. Construct a program for a sprite to only move when it is touching a specific color.

National Curriculum Attainment Targets

KS2: Computing - Programming and Algorithms
Year: Year 5
Subject: Computing
Unit: Variables in Games
Period: Spring Term

Ready to teach this topic?

Generate a complete, classroom-ready active learning mission in seconds.

Browse curriculum by country

AmericasUSCAMXCLCOBR
Asia & PacificINSGAU