direction = point_direction( x, y, mouse_x, mouse_y );
s = 5;
if( keyboard_check( vk_right ) )
{
x += lengthdir_x( s, direction + 90 );
y += lengthdir_y( s, direction + 90 );
}
else
if( keyboard_check( vk_left ) )
{
x += lengthdir_x( s, direction - 90 );
y += lengthdir_y( s, direction - 90 );
}