Newton's first law of motion states that an object at rest tends to stay at rest, while an object in motion tends to stay in motion unless an external force acts upon it. This law appears in basketball when the player is shooting the ball. When the player is holding the ball, the ball is at rest but when a player shoots the ball, they use force to throw the ball in the hoop.