:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the InputEventWithModifiers.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_InputEventWithModifiers: InputEventWithModifiers ======================= **Inherits:** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`InputEventGesture`, :ref:`InputEventKey`, :ref:`InputEventMouse` **Category:** Core Brief Description ----------------- Base class for keys events with modifiers. Properties ---------- +-------------------------+----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`alt` | false | +-------------------------+----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`command` | false | +-------------------------+----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`control` | false | +-------------------------+----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`meta` | false | +-------------------------+----------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`shift` | false | +-------------------------+----------------------------------------------------------------+-------+ Description ----------- Contains keys events information with modifiers support like ``Shift`` or ``Alt``. See :ref:`Node._input`. Tutorials --------- - :doc:`../tutorials/inputs/inputevent` Property Descriptions --------------------- .. _class_InputEventWithModifiers_property_alt: - :ref:`bool` **alt** +-----------+----------------+ | *Default* | false | +-----------+----------------+ | *Setter* | set_alt(value) | +-----------+----------------+ | *Getter* | get_alt() | +-----------+----------------+ State of the ``Alt`` modifier. .. _class_InputEventWithModifiers_property_command: - :ref:`bool` **command** +-----------+--------------------+ | *Default* | false | +-----------+--------------------+ | *Setter* | set_command(value) | +-----------+--------------------+ | *Getter* | get_command() | +-----------+--------------------+ State of the ``Command`` modifier. .. _class_InputEventWithModifiers_property_control: - :ref:`bool` **control** +-----------+--------------------+ | *Default* | false | +-----------+--------------------+ | *Setter* | set_control(value) | +-----------+--------------------+ | *Getter* | get_control() | +-----------+--------------------+ State of the ``Ctrl`` modifier. .. _class_InputEventWithModifiers_property_meta: - :ref:`bool` **meta** +-----------+--------------------+ | *Default* | false | +-----------+--------------------+ | *Setter* | set_metakey(value) | +-----------+--------------------+ | *Getter* | get_metakey() | +-----------+--------------------+ State of the ``Meta`` modifier. .. _class_InputEventWithModifiers_property_shift: - :ref:`bool` **shift** +-----------+------------------+ | *Default* | false | +-----------+------------------+ | *Setter* | set_shift(value) | +-----------+------------------+ | *Getter* | get_shift() | +-----------+------------------+ State of the ``Shift`` modifier.