lesson

What starts the action?

Read with an adult. You can say, point, draw or write your answer.

1 · Learn

An event can start a program. In a block tool, clicking a start button or pressing a chosen key may trigger a sequence.

The event and the following instructions have different jobs. The event starts the sequence; the commands say what happens next. Our program only runs when its chosen event occurs.

When start is clickedMoveSay hello
Key words and supplied examples.

2 · Worked example

I put move and say hello after a start event. I predict movement before the greeting because that is their order.

3 · Your turn

The commands are say hello, then move. Which happens first after the start event?

Check your answer

The greeting happens first, then movement.

4 · Apply your learning

Make a short event-started sequence in an approved tool. Swap two commands and explain what changes when you run it.

Adult guidance and safety

Work with an adult in an approved offline or school-managed tool. Use pretend information, never real passwords or personal details. Paper activities model ideas but must be followed by suitable hands-on device practice.

Open your writing and drawing pad

Write, draw or show your working. Use a mouse, pen or finger. This pad is not a submitted answer.

Not saved to your account. Download your drawing as PNG and your typed notes as TXT before leaving or refreshing. They are separate files. Do not enter private information.

Open a picture saved on this device to draw on it again. Opening replaces the drawing, but Undo can restore it. PNG only, up to 4 MB and 4096 × 4096 pixels. The picture stays in this browser; it is not uploaded. Paper lines in a saved picture become part of that picture.

Drawing is unavailable. Use the typed working area below.

Your pad is empty.

Open a UTF-8 TXT file from this device, up to 40 KB and 10,000 characters. It stays in this browser. Opening can be undone until you type again. Downloads keep a new copy; they do not change the file you opened.

Typed notes are not submitted answers.

Practice this lesson

Lesson resources

Browse the available practice activities and worksheets for this lesson.

Open course resources

Your progress

Ready to continue?