Drag the ball down to the ground below the hoop.
Then click the Motion category. Drag out a glide block and snap it below:
Press the space key to try it out.
Add a go to x y block to return the ball back to the start.
Use the same numbers as at the beginning of the script.
Tip: go to x y tells a sprite where to go on the Stage. x is the position on the Stage from left to right. y is the position on the Stage from top to bottom.