STEP 21: All we need now is to create a text sprite to place at the bottom of the stage and we're done!

  • In GRAPHICS, go to . Drag Text in Color to the bottom of main().
  • Then, change the text from "Hello in red." to "Your animal is a " + animal_class.
  • Finally, place the text sprite at (0, -225) and change it's color to "white".

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)