W3cubDocs

/Godot 3.0

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 information. See Node._input.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_inputeventmousebutton.html