Drifts... as in, a racing game? That depends on a lot.
But for a walking engine, I suppose a simple sort of thing could be achived with motion_add...
if keyboard_check(vk_right) motion_add(0,1)
if keyboard_check(vk_up) motion_add(90,1)
if keyboard_check(vk_left) motion_add(180,1)
if keyboard_check(vk_down) motion_add(270,1)
speed=min(speed,10) //You might want to limit it like this, to stop it going crazy.
Dunno if that's what you wanted.