The "paint" is the area inside the lane lines from the baseline to the free-throw line. If your offensive player has a foot on, or inside these lines for 3 seconds or longer, he will be called for the 3-second violation. There is no restriction on the time defensive players can occupy the paint.

Source: https://www.coachesclipboard.net/Bas...rminology.html