Click the green flag to see Hannah dribble the basketball down the court.
Basketball Sample #4 does not depend on careful timing of the code for Hannah and the basketball, as does Basketball Sample #3. Rather, code for the basketball makes it stay close to Hannah as she moves. This code is much easier to modify to change how the ball moves when Hannah takes a shot at the basket.