"Direction-targeted" skillshots all work the same way. This refers to long range beams and outwards traveling projectiles, where you press the button and the projectile gets shot into the direction of your cursor, regardless of the distance. Things like Lux QWR, Veigar Q, Mel E, Karma Q, Diana Q, Zaahen W, etc.
Then there are "location-targeted" skillshots. They usually have circular hitboxes and don't affect anything that's in between your champion and the targeted area. Many of these work differently from one another.
Some are "clamped", meaning if you move your cursor beyond the maximum range, the AoE simply gets placed at max range into the direction of your cursor, somewhat like a direction-targeted skillshot. Clamped skillshots include Syndra Q, Varus E, Zyra R, Jarvan E, Cassiopeia W, Trundle W, Kindred W, Milio W, Miss Fortune E and most dashes and jump abilities like Kassadin R, Locke E, Leblanc W, Kha'Zix E, Pantheon R, Malphite R, Zaahen ER.
However there are also unclamped skillshots, where you don't have a maximum range for target selection. These come with an auto-walk mechanic, where your champion will move towards the targeted area until is in range before casting the ability. That's Karthus QW, Syndra W, Mel Q, Lux E, Brand W, Xerath W, Viktor WR, Ziggs WER, Anivia WR, Veigar WE, etc.
In the options menu under the "Game" tab is a checkbox that reads "Clamp cast target location within max range". If you check this box, it disables the auto-walk mechanic for all skillshots by limiting your target selection. However what if you want it the other way around and unclamp the clamped skillshots, so that your champion always walks into range?