Signal
A piece of information the program can inspect.
Curriculum topic
Sensing gives a program information about contact, distance, colour, input, or another changing part of the world.
Why it matters
Movement alone does not create interaction. Games become systems when they notice walls, hazards, targets, or players. Robots become responsive when they can measure something outside their command list.
Real-world connection
A door sensor, a phone screen, and a game hitbox all decide whether an interaction occurred. The measurements differ, but each must define what counts as contact.
The connection shows where the idea returns; it does not claim every advanced application is taught in this first topic.
Math and logic kernel
A piece of information the program can inspect.
Two regions overlap or touch.
A position or region that changes the rules.
Changing inputs must often be tested repeatedly.
Small examples
Treat a map colour as a wall or hazard.
Detect contact between player and target.
Respond when an object is nearer than a threshold.
Turn a physical action into a program signal.
Program connections
Beginner-friendly programming through original games, animations, simulations, and interactive stories.
Commands, sensors, simple electronics, simulations, and physical systems organized around Sense, Decide, Act.
A future bridge from visual programming to Lua, 3D objects, events, and larger game systems.
Common mistakes
Transparent or hidden parts of a costume trigger contact.
Fast movement passes through because collision is not checked continuously.
Contact is detected repeatedly and score increases many times.
The student assumes objects touch instead of inspecting the sensing result.
Lesson and projects
Build a compact platform game where collision, jumping, safe surfaces, and game state must agree.
Open projectCollect drifting space chickens while tracking several positions and avoiding danger zones.
Open projectConnect a button input to visible and audible outputs, then improve the alarm's state rules.
Open project