if keyboard_check(vk_shift) { x += 2 if x > 1000 x = xprevious exit; } x += 5 if x > 1000 x = xprevious