.. 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/<name>/doc_classes.

.. _class_InputEventMouseMotion:

InputEventMouseMotion
=====================

**Inherits:** :ref:`InputEventMouse<class_inputeventmouse>` **<** :ref:`InputEventWithModifiers<class_inputeventwithmodifiers>` **<** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`

**Category:** Core

Brief Description
-----------------

Input event type for mouse motion events.

Member Variables
----------------

  .. _class_InputEventMouseMotion_relative:

- :ref:`Vector2<class_vector2>` **relative** - Mouse position relative to the previous position (position at the last frame).

  .. _class_InputEventMouseMotion_speed:

- :ref:`Vector2<class_vector2>` **speed** - Mouse speed.


Description
-----------

Contains mouse motion information. Supports relative, absolute positions and speed. See :ref:`Node._input<class_Node__input>`.

