.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the InputEventMouseMotion.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_InputEventMouseMotion: InputEventMouseMotion ===================== **Inherits:** :ref:`InputEventMouse` **<** :ref:`InputEventWithModifiers` **<** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Input event type for mouse motion events. Member Variables ---------------- .. _class_InputEventMouseMotion_relative: - :ref:`Vector2` **relative** - Mouse position relative to the previous position (position at the last frame). .. _class_InputEventMouseMotion_speed: - :ref:`Vector2` **speed** - Mouse speed. Description ----------- Contains mouse motion information. Supports relative, absolute positions and speed. See :ref:`Node._input`.