When an attack starts, it must be shot within 24 seconds, at least once within 24 seconds, or it will be a 24 second violation.
There are two typical cases of 24 second violations. One is that the ball is still in the hands of players or passed between each other within 24 seconds, and the failure to form a shot within 24 seconds is a violation. The second is to form a shot, but the shot did not hit or touch the basket. At this time, 24 seconds were used up, which is also an offence.
After 24 seconds of the violation, the referee shall designate the opposing player to throw the ball out of bounds at the nearest place from the place where the violation occurred.