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

Category: Core

Brief Description

Input event type for mouse motion events.

Member Variables

  • Vector2 relative - Mouse position relative to the previous position (position at the last frame).
  • Vector2 speed - Mouse speed.


Contains mouse motion information. Supports relative, absolute positions and speed. See Node._input.