Does telling a player they’re teeing off from the wrong place constitute giving advice?

two golfers on tee

Are you allowed to prevent a fello player from breaking a rule?

Getty Images