Joystick direction

The left analog stick example the (1) is the id for joystick 1
 * if joystick_direction(1)=101 stop
 * if joystick_direction(1)=100 left
 * if joystick_direction(1)=102 right
 * if joystick_direction(1)=104 up
 * if joystick_direction(1)=98 down
 * if joystick_direction(1)=97 downleft
 * if joystick_direction(1)=103 upleft
 * if joystick_direction(1)=105 upright
 * if joystick_direction(1)=99 downright

GML Functions: The Joystick