Billiards pool question.?

What needs to happen in order for a pool shot to be legal. Ive heard a ball has to hit a rail after first contact. (first contact with your ball) Is this true?
2 answers 2