3-second violations are called whenever an offensive player remains in the paint for three seconds or a defensive player stays in the paint for more than three seconds without guarding another player. These two scenarios carry different names, as offensive or defensive 3-second violations.