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

.. _class_InputEventScreenDrag:

InputEventScreenDrag
====================

**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 drag events.

(only available on mobile devices)

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

  .. _class_InputEventScreenDrag_index:

- :ref:`int<class_int>` **index** - Drag event index in the case of a multi-drag event.

  .. _class_InputEventScreenDrag_position:

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

  .. _class_InputEventScreenDrag_relative:

- :ref:`Vector2<class_vector2>` **relative** - Drag position relative to its start position.

  .. _class_InputEventScreenDrag_speed:

- :ref:`Vector2<class_vector2>` **speed** - Drag speed.


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

Contains screen drag information. See :ref:`Node._input<class_Node__input>`.

