Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

5. Eigene Nachrichten verwenden


In this video, you will create the message that tells the main character to start walking.

Click on the narrator sprite to make sure you’re programming it. Drag out the “broadcast and wait” block. Click on the dropdown. There’s no message for “walking,” so click on “new message” to create one. Name the message. It will broadcast when the main character should walk, so name it something that describes that action, like “Walking.”

Next, program the main character to receive the message. Click on the main character.

Go to the events menu, and find the “when I receive” block. When the main character receives the walking message, it should run the code you just wrote and start walking.

Place the “when I receive” block above the code that makes the main character walk.

To make sure the main character is responding to the right message, check that “Walking” is selected in the dropdown menu. Click the green flag to test the code.

When the narrator tells the main character to walk, it should start moving. Great job!

Finally, program the narrator to say something to explain why the main character is walking.

Decide where the character is going. The character could even meet someone along the way.

Now, its your turn: Add a “broadcast” block with a new message to the narrator’s code. Place a “when I receive” block with that message at the top of the code to make the main character walk.

Make the narrator explain why the main character is walking.

On the next page you’ll find some add-ons to help spice up your characterization story.

arrow_backward Zurück
Weiter arrow_forward
  1. Sendet eine Nachricht, die die Figur loslaufen lässt.
  2. Lasst die Figur loslaufen, wenn sie die Nachricht empfängt.