STEP 8: Our scene is set up. Nice! Let's now make our game interactive.

  • Look at your micro:bit. Notice there are two buttons. Find the button that says A.
  • In SUBJECT, click on . Then, drag in the block A Button Press to the bottom of your editor.
  • Click Run and press A on your micro:bit. Your sprite should move left.

Not started reading
microbit = codesters.Microbit() microbit.show_string("hello") stage.set_background("soccerfield") sprite = codesters.Sprite("athlete2") sprite.move_down(150)
Not started