◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── STICK(n%) ■ n% A numeric expression whose value is an unsigned integer from 0 to 3 that indicates which joystick coordinate value to return: 0 indicates the joystick A x coordinate. 1 indicates the joystick A y coordinate. 2 indicates the joystick B x coordinate. 3 indicates the joystick B y coordinate. ■ The STICK function is not available in OS/2 protected mode. Returns The x or y coordinate of joystick A or B. Joystick coordinates range from 1 to 200 in both directions. See Also ◄ON STRIG► ◄STRIG Function► ◄STRIG Statements►