From commands to missions
You can already take off, move, and land. Now you’ll combine blocks into smart, flexible programs using the ideas real programmers use every day: loops, variables, decisions, operators, broadcasts, and custom blocks. Work through these programs in order. Each one adds exactly one new idea, and each ends with a challenge to make it your own. That’s four-plus hours of building - pick up wherever your class is.
Each program climbs one rung up the coding ladder - loops, variables, decisions, and beyond
Program 1 - Fly a square with a loop
Instead of writing “move, turn” four times, use a repeat loop. This is the single most useful pattern in drone coding.
Control blocks: repeat, forever, if-then, wait until, and repeat until
Start and take off
Add a repeat loop
Fill the loop
Land
Challenge
Program 2 - One number, any shape (variables)
A variable is a named box that holds a value. Store the number of sides once, and the whole program adapts.
Variables blocks: make, set, and change your own values
Make a variable
sides.Set it
Use it in the loop
sides from 4 to 6 and the same program flies a hexagon. One change reshapes the whole flight - that’s the power of variables.

Change one variable, get a totally different shape - the same code flies them all
Challenge
Program 3 - Loops inside loops (a spiral tower)
Put a loop inside a loop to build patterns. Fly a square, rise a little, repeat.Challenge
size variable and change size by -10 each loop.Program 4 - Make it decide (if-then + operators)
An if-then block lets the drone choose what to do. Combine it with Operators to build a condition.
Operators blocks: random, comparisons, and logic
Challenge
Program 5 - Time a routine (Sensing + timer)
The timer reports seconds since the program started. Pair it with a loop to run for a set time.
Sensing blocks: timer and reset timer
Challenge
Program 6 - Two scripts talking (broadcast)
Broadcast lets one part of your program trigger another. This keeps big programs organized.
Events blocks: broadcast and when I receive
Program 7 - Build your own block (My Blocks)
Package a routine into one custom block you name yourself. This is how pros keep code readable.
Make a Block - name your own reusable command
Make a Block
square. Click OK.Define it
Use it
square - as many times as you like.Instructor cheat sheet
If the green flag does nothing
If the green flag does nothing
If the drone drifts on shapes
If the drone drifts on shapes
If a loop never ends
If a loop never ends
Keep the energy up
Keep the energy up

