W3cubDocs

/Godot 3.0

InputEventMouseMotion

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.

Description

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

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_inputeventmousemotion.html