Preparing search index...

    Event object containing mouse interaction data.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    button: MouseButton

    The specific mouse button that triggered the event

    buttons: MouseButton

    All mouse buttons currently pressed (flags)

    globalX: number

    The x-coordinate of the mouse position relative to the widget

    globalY: number

    The y-coordinate of the mouse position relative to the widget

    modifiers: KeyboardModifier

    The keyboard modifiers pressed during the mouse event (Shift, Ctrl, Alt, etc.).

    x: number

    The absolute x-coordinate of the mouse position on screen

    y: number

    The absolute y-coordinate of the mouse position on screen

    Methods

    • Marks the mouse event as accepted, preventing further propagation

      Returns void

    • Marks the mouse event as ignored, allowing further propagation

      Returns void

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean