This is a cut and paste directly from the manual, which I suggest you check out when you have a question. It really is very useful.How can I get analog "angle"?
var haxis = gamepad_axis_value(0, gp_axislh);
var vaxis = gamepad_axis_value(0, gp_axislv);
direction = point_direction(0, 0, haxis, vaxis);