InputEventMouse

    Inherited By: InputEventMouseButton,

    Base input event type for mouse events.

    Stores general mouse events information.

    The mouse button mask identifier, one of or a bitwise combination of the button masks.


    When received in or Node._unhandled_input, returns the mouse’s position in the root using the coordinate system of the root Viewport.

    When received in , returns the mouse’s position in the CanvasLayer that the is in using the coordinate system of the CanvasLayer.


    • position

    When received in Node._input or , returns the mouse’s position in the Viewport this is in using the coordinate system of this Viewport.

    When received in , returns the mouse’s position in the Control using the local coordinate system of the .