InputEventMouseButton

Inherits: InputEventMouse < InputEventWithModifiers < InputEvent < Resource < Reference < Object

Category: Core

Brief Description

Input event type for mouse button events.

Member Variables

  • int button_index - Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in @GlobalScope.
  • bool doubleclick - If true the mouse button’s state is a double-click. If false the mouse button’s state is released.
  • float factor - TO TALK in PR, reduz said : i think it’s used for apple touch but i don’t remember what it does
  • bool pressed - If true the mouse button’s state is pressed. If false the mouse button’s state is released.

Description

Contains mouse click informations. See Node._input.