Mam to w kleic do step i tyle
image_single = direction * image_number/360;
if (keyboard_check(vk_left))
direction+=5;
else
if (keyboard_check(vk_right))
direction-=5;
if (keyboard_check(vk_up) )
speed=3;
else
if (keyboard_check(vk_down) )
speed=-2;
else
speed=0;