point_direction(0, 0, horizontal_input, vertical_input);
0
90
180
270
15
135
315
225
-1, 0, 1
By gamemakercasts