Krakens have an ability called Fling that lets them throw a grappled creature in a random direction up to 60 feet:
Fling. One Large or smaller object held or creature grappled by the kraken is thrown up to 60 feet in a random direction and knocked prone. If a thrown target strikes a solid surface, the target takes 3 (1d6) bludgeoning damage for every 10 feet it was thrown. If the target is thrown at another creature, that creature must succeed on a DC 18 Dexterity saving throw or take the same damage and be knocked prone.
Does this wording mean they can choose to throw the creature between 0 and 60 feet, or is the "up to" wording to cover cases where they are thrown into a nearby wall?