The key is 4.1 feet or 1.25 meters away from the borderline. This rule is followed in all basketball leagues including NBA, FIBA, and NCAA.