InputEventMouseMotion

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

Category: Core

Brief Description

Input event type for mouse motion events.

Properties

Vector2relative
Vector2speed

Description

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

Tutorials

Property Descriptions

Setterset_relative(value)
Getterget_relative()

Mouse position relative to the previous position (position at the last frame).


Setterset_speed(value)
Getterget_speed()

Mouse speed.