STEP 9: Now our sprites can speak to each other! This background is dark, so we'll start by changing the say color.

  • Click on and drag out Set Say Color.
  • Change the variable name in front of .set_say_color() from sprite to glorp.
  • In , drag out Say. Drop it at the bottom of your program.
  • Assign.say() to glorp by changing the variable name before .say() from sprite to glorp.

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)