InputEventMouseButton

Inherits: InputEventMouse < InputEventWithModifiers < InputEvent < Resource < Reference < Object Input event type for mouse button events.

Description

Node._input.

Tutorials

  • 鼠标和输入坐标

    Properties

    Property Descriptions

  • int button_index ButtonList button or button wheel constants.

  • bool doubleclick true, the mouse button’s state is a double-click.

  • float factor 0 if not supported.

  • bool pressed true, the mouse button’s state is pressed. If false, the mouse button’s state is released.