.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the InputEventMouseButton.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_InputEventMouseButton: InputEventMouseButton ===================== **Inherits:** :ref:`InputEventMouse` **<** :ref:`InputEventWithModifiers` **<** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Input event type for mouse button events. Member Variables ---------------- .. _class_InputEventMouseButton_button_index: - :ref:`int` **button_index** - Mouse button identifier, one of the BUTTON\_\* or BUTTON_WHEEL\_\* constants in :ref:`@GlobalScope`. .. _class_InputEventMouseButton_doubleclick: - :ref:`bool` **doubleclick** - If ``true`` the mouse button's state is a double-click. If ``false`` the mouse button's state is released. .. _class_InputEventMouseButton_factor: - :ref:`float` **factor** - TO TALK in PR, reduz said : i think it's used for apple touch but i don't remember what it does .. _class_InputEventMouseButton_pressed: - :ref:`bool` **pressed** - If ``true`` the mouse button's state is pressed. If ``false`` the mouse button's state is released. Description ----------- Contains mouse click information. See :ref:`Node._input`.