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.

To navigate the page using the TAB key, first press ESC to exit the code editor.

microbit = codesters.Microbit() microbit.show_string("hello") stage.set_background("soccerfield") sprite = codesters.Sprite("athlete2") sprite.move_down(150)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)