---
name: "al_get_touch_input_state"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_touch_input_state"
---

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

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(3)](/ALLEGRO_TOUCH_INPUT_STATE/3.md) you provide to this function.

## SINCE

5\.1.0
