WARNING: This program has a syntax error, which means the code does not follow all the coding rules!

RULE: You must use a sprite's variable name in front of the Action you want to assign to the sprite.

  • Click Run and read the error message.
  • name 'sprite' is not defined means that there is no sprite with the variable name sprite in your code.
  • Debug the program so that the .glide_to() command is assigned to toothy.

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)