InputEventMouseMotion

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

Category: Core

Brief Description

Input event type for mouse motion events.

Member Functions

Vector2 get_relative ( ) const
Vector2 get_speed ( ) const
void set_relative ( Vector2 relative )
void set_speed ( Vector2 speed )

Member Variables

  • Vector2 relative - Position of the mouse pointer relative to the previous mouse position.
  • Vector2 speed - Speed of the mouse pointer.

Member Function Description

  • void set_relative ( Vector2 relative )