.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the InputEventScreenTouch.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.

.. _class_InputEventScreenTouch:

InputEventScreenTouch
=====================

**Inherits:** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`

**Category:** Core

Brief Description
-----------------

Input event type for screen touch events.

(only available on mobile devices)

Member Variables
----------------

  .. _class_InputEventScreenTouch_index:

- :ref:`int<class_int>` **index** - Touch index in the case of a multi-touch event. One index = one finger.

  .. _class_InputEventScreenTouch_position:

- :ref:`Vector2<class_vector2>` **position** - Touch position.

  .. _class_InputEventScreenTouch_pressed:

- :ref:`bool<class_bool>` **pressed** - If ``true`` the touch's state is pressed. If ``false`` the touch's state is released.


Description
-----------

Stores multi-touch press/release information. Supports touch press, touch release and :ref:`index<class_InputEventScreenTouch_index>` for multi-touch count and order.

