This is an example of a defensive foul committed with the offensive player with the ball in the act of shooting. In order for a foul to be ruled to have occurred in the act of shooting on a drive to the basket, the offensive player must gather the ball and begin his continuous motion to shoot prior to the foul occurring. On this play, the on-ball defender trips the offensive player AFTER the offensive player has gathered the ball. Because the gather marks the beginning of the continuous shooting motion on drives to the basket, the ensuing two steps and the shot attempt by the offensive player are included in the play, making this a foul in the act of shooting.