STEP 4: Let's add our hoop!

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

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

stage.set_background("halfcourt") sprite = codesters.Sprite("player4") sprite.go_to(215, -175)