This is an example of a defensive foul, committed during a passing motion by the offensive player. In order for a foul to be ruled to have occurred in the act of shooting, the offensive player must gather the ball and be in a continuous motion to shoot throughout his drive. On this play, the on ball defender reaches in and makes illegal contact with the offensive player AFTER the offensive player has gathered the ball. Since the offensive player was clearly not in the act of shooting, and instead he was in the act of spassing, this WOULD NOT be ruled a foul in the act of shooting.