STEP 9: Now, let's reflect our sprite over either the x-axis or y-axis so that it covers the target triangle.

  • Go to the section and drag either Reflect x Axis or Reflect y Axis
  • Click Run to see if the triangle moved to the target triangle.
  • If not, delete the command you used and try the other reflect command.
  • Once your triangle covers the target, click Submit and Next .

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

# stage.create_grid_overlay(line_separation, "line_color") stage.create_grid_overlay(50, "grey") sprite = codesters.Sprite("triangle") sprite.set_speed(1)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)