Now that you have reviewed some basic transformations, you have a mission to complete.

  • For your first mission, use translations to move the sprite to the target triangle.
  • You will have to use 2 translation commands: one Translate_x and one Translate_y.
  • Change the number in the commands until you move the start triangle onto the target triangle.

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

sprite = codesters.Sprite("triangle") sprite.go_to(-200, -150) sprite.set_speed(1) sprite.say("Start")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)