The blocks
Learn's missions use a small set of friendly blocks. Each is a Runeweave node underneath, with simpler names for the classroom.
| Block | Inputs | Outputs | What it does |
|---|---|---|---|
| Button | pressed | On while the button on the left add-on is held down. | |
| Light | on | Lights the light on the right add-on while on is on. | |
| Flip-flop | toggle | memory | Remembers on or off. Each time toggle turns on, memory flips. |
| Blinker | beat | Switches on and off by itself. Set how many seconds each beat lasts. | |
| Both | A, B | out | On when A and B are on. |
| Either | A, B | out | On when A or B is on. |
| Opposite | in | out | On when in is off, and off when it's on. |
| Wait | in | out | Passes in on after a number of seconds. |
The seconds on Blinker and Wait can be 0.25, 0.5, 1, 2 or 3.
A first program
Wire Button → pressed to Light → on. Hold the button and the light is on; let go and it's off.
Put a Flip-flop in between (pressed → toggle, memory → on), and each press switches the light on or off and it stays that way.