Scrolling name on button press

Step 1 /3

Step until input

To make CodeBug interactive, we can use the sleep until button changes block. This will put CodeBug to sleep until one of its buttons are pressed. Notice that the workspace already has the code from the previous tutorial, you just need to change "Hello, World!" to your name.

Step 2 /3

Run your code

Run your code and see what happens. Nothing appears on the CodeBug emulator right? Try pressing the A button on the emulator’s left ear and your name will appear whenever you want!

Step 3 /3

Download your code

Download your code to CodeBug again.