Move towards point

Example
//basic enemy AI if distance_to_object(obj_player) < 128 then {   move_towards_point(obj_player.x,obj_player.y,4); }