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 .

stage.set_background("grid") sprite = codesters.Sprite("triangle") sprite.set_speed(1)