.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/TouchScreenButton.xml. .. _class_TouchScreenButton: TouchScreenButton ================= **Inherits:** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`String` | :ref:`action` | ``""`` | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`BitMap` | :ref:`bitmask` | | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`passby_press` | ``false`` | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`Shape2D` | :ref:`shape` | | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`shape_centered` | ``true`` | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`shape_visible` | ``true`` | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`Texture2D` | :ref:`texture_normal` | | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`Texture2D` | :ref:`texture_pressed` | | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ | :ref:`VisibilityMode` | :ref:`visibility_mode` | ``0`` | +--------------------------------------------------------------+--------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------+----------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_pressed` **(** **)** |const| | +-------------------------+----------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_TouchScreenButton_signal_pressed: .. rst-class:: classref-signal **pressed** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_signal_released: .. rst-class:: classref-signal **released** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_TouchScreenButton_VisibilityMode: .. rst-class:: classref-enumeration enum **VisibilityMode**: .. _class_TouchScreenButton_constant_VISIBILITY_ALWAYS: .. rst-class:: classref-enumeration-constant :ref:`VisibilityMode` **VISIBILITY_ALWAYS** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_TouchScreenButton_constant_VISIBILITY_TOUCHSCREEN_ONLY: .. rst-class:: classref-enumeration-constant :ref:`VisibilityMode` **VISIBILITY_TOUCHSCREEN_ONLY** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_TouchScreenButton_property_action: .. rst-class:: classref-property :ref:`String` **action** = ``""`` .. rst-class:: classref-property-setget - void **set_action** **(** :ref:`String` value **)** - :ref:`String` **get_action** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_bitmask: .. rst-class:: classref-property :ref:`BitMap` **bitmask** .. rst-class:: classref-property-setget - void **set_bitmask** **(** :ref:`BitMap` value **)** - :ref:`BitMap` **get_bitmask** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_passby_press: .. rst-class:: classref-property :ref:`bool` **passby_press** = ``false`` .. rst-class:: classref-property-setget - void **set_passby_press** **(** :ref:`bool` value **)** - :ref:`bool` **is_passby_press_enabled** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_shape: .. rst-class:: classref-property :ref:`Shape2D` **shape** .. rst-class:: classref-property-setget - void **set_shape** **(** :ref:`Shape2D` value **)** - :ref:`Shape2D` **get_shape** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_shape_centered: .. rst-class:: classref-property :ref:`bool` **shape_centered** = ``true`` .. rst-class:: classref-property-setget - void **set_shape_centered** **(** :ref:`bool` value **)** - :ref:`bool` **is_shape_centered** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_shape_visible: .. rst-class:: classref-property :ref:`bool` **shape_visible** = ``true`` .. rst-class:: classref-property-setget - void **set_shape_visible** **(** :ref:`bool` value **)** - :ref:`bool` **is_shape_visible** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_texture_normal: .. rst-class:: classref-property :ref:`Texture2D` **texture_normal** .. rst-class:: classref-property-setget - void **set_texture_normal** **(** :ref:`Texture2D` value **)** - :ref:`Texture2D` **get_texture_normal** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_texture_pressed: .. rst-class:: classref-property :ref:`Texture2D` **texture_pressed** .. rst-class:: classref-property-setget - void **set_texture_pressed** **(** :ref:`Texture2D` value **)** - :ref:`Texture2D` **get_texture_pressed** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_TouchScreenButton_property_visibility_mode: .. rst-class:: classref-property :ref:`VisibilityMode` **visibility_mode** = ``0`` .. rst-class:: classref-property-setget - void **set_visibility_mode** **(** :ref:`VisibilityMode` value **)** - :ref:`VisibilityMode` **get_visibility_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_TouchScreenButton_method_is_pressed: .. rst-class:: classref-method :ref:`bool` **is_pressed** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`