g. Causing even the slightest movement or altering the course of the cue
ball, even accidentally, is a foul. Even dropping the chalk on the cue ball
is a foul. It is not a foul, however, to accidentally move any other balls
(including the 8-ball) unless, during his turn at the table, a player moves a
ball and it in turn comes in contact with the cue ball. Any balls moved
accidentally during a shot must be replaced by the opponent after the
shot is over and all balls have stopped rolling. If it occurs before the shot,
it must be replaced before the shot is taken.
Right off the APA website
ball, even accidentally, is a foul. Even dropping the chalk on the cue ball
is a foul. It is not a foul, however, to accidentally move any other balls
(including the 8-ball) unless, during his turn at the table, a player moves a
ball and it in turn comes in contact with the cue ball. Any balls moved
accidentally during a shot must be replaced by the opponent after the
shot is over and all balls have stopped rolling. If it occurs before the shot,
it must be replaced before the shot is taken.
Right off the APA website