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

.. _class_InputEventAction:

InputEventAction
================

**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 actions.

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

  .. _class_InputEventAction_action:

- :ref:`String<class_string>` **action** - The action's name. Actions are accessed via this :ref:`String<class_string>`.

  .. _class_InputEventAction_pressed:

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


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

Contains a generic action which can be targeted from several type of inputs. Actions can be created from the project settings menu ``Project > Project Settings > Input Map``. See :ref:`Node._input<class_Node__input>`.

