• Go to the section of the toolkit and drag Go To into your program.
  • Change the first number in the .go_to() command to 215 and change the second number to 175.
  • Change the name in front of the .go_to() command to net.

We can assign commands to specific sprites by using their name. This is called dot notation.

First we use the sprite's name to assign it. Then we put the action we want after the dot. Like this: name.action()

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