STEP 5: Let's add our hoop!

Each sprite needs its own name. The sprite's name is the orange word before the equals sign.

  • Go to the section of the toolkit and drag Basketball Net to the bottom of your program.
  • Change the name before the equals sign from sprite to net.

stage.set_background("halfcourt") sprite = codesters.Sprite("player1") sprite.go_to(-175, -150)