In basketball, traveling is a moving violation in which someone moves both feet without dribbling the ball. It is legal to move one foot (called a pivot), and in professional basketball often it is overlooked when used as a precursor to dunking, just because the masses are watching basketball to have fun, not to make sure that all the rules are followed precisely.

When a player is caught traveling, the ball is turned over to the opposing team, and one of their players takes it out of bounds.