---
name: "al_get_touch_input_state"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_touch_input_state/3alleg5"
---

# al\_get\_touch\_input\_state(3alleg5)

Allegro 5 API

## NAME

al\_get\_touch\_input\_state - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_get_touch_input_state(ALLEGRO_TOUCH_INPUT_STATE *ret_state)
  ```

## DESCRIPTION

Gets the current touch input state. The touch information is copied into the ALLEGRO\_TOUCH\_INPUT\_STATE(3alleg5) you provide to this function.

## SINCE

5\.1.0
