All defined terms are in italics and are listed alphabetically in the Definitions section - see pages 2235.
If the flagstick is not attended, removed or held up before the player makes a stroke, it must not be attended, removed or held up during the stroke or while the player's ball is in motion if doing so might influence the movement of the ball.
(Moving attended, removed or held-up flagstick while ball in motion - see Rule 24-1)
If an opponent or his caddie in match play or a fellow-competitor or his caddie in stroke play, without the player's authority or prior knowledge, attends, removes or holds up the flagstick during the stroke or while the ball is in motion, and the act might influence the movement of the ball, the opponent or fellow-competitor incurs the applicable penalty.
Match play - Loss of hole; Stroke play - Two strokes.
*In stroke play, if a breach of Rule 17-2 occurs and the competitor's ball subsequently strikes the flagstick, the person attending or holding it or anything carried by him, the competitor incurs no penalty. The ball is played as it lies, except that if the stroke was made on the putting green, the stroke is canceled and the ball must be replaced and replayed.
The player's ball must not strike:
The flagstick when it is attended, removed or held up;
The person attending or holding up the flagstick or anything carried by him; or
Match play - Loss of hole; Stroke play - Two strokes and the ball must be played as it lies.
When a player's ball rests against the flagstick in the hole and the ball is not holed, the player or another person authorized by him may move or remove the flagstick, and if the ball falls into the hole, the player is deemed to have holed out with his last stroke; otherwise, the ball, if moved, must be placed on the lip of the hole, without penalty.