--- id: input-axis_i name: Input.axis_i category: input kind: namespace-method tokens: Input.axis_i sig: Input.axis_i(neg, pos) -> int tip: A -1/0/1 directional intent as a plain int, no bool->int glue. order: 14 ns: Input member: axis_i --- Returns a directional intent as a plain int: +1 when the positive key is held, -1 when the negative one is, 0 for neither or both. It reads the multi-key device set, so it replaces the ki(key_down('d')) - ki(key_down('a')) boolean-to-int boilerplate and feeds an int mover directly — dx = Input.axis_i('a', 'd'), dy = Input.axis_i('w', 's'). For an analog / normalized value use Input.axis (fixed) or Input.vector. ```ludic program Demo { entry { Input.press('d') Input.poll() print(Input.axis_i('a', 'd')) # 1 } } ```