InputEventMouseMotion
Inherits: InputEventMouse < InputEventWithModifiers < InputEvent < Resource < Reference < Object
Category: Core
Brief Description
Input event type for mouse motion events.
Properties
Vector2 | relative |
Vector2 | speed |
Description
Contains mouse motion information. Supports relative, absolute positions and speed. See Node._input.
Tutorials
Property Descriptions
- Vector2 relative
Setter | set_relative(value) |
Getter | get_relative() |
Mouse position relative to the previous position (position at the last frame).
- Vector2 speed
Setter | set_speed(value) |
Getter | get_speed() |
Mouse speed.