Returns the mouse coordinate movement speed in the X-axis direction.
y
Returns the mouse coordinate movement speed in the Y-axis direction.
speed
Returns the mouse coordinate movement speed.
戻り値
Returns whether the acquisition was successful or failed
説明
Gets the current mouse movement speed in pixel / sec.
The measurement is started from the moment when it enters the window.
You can reset the measurement using Window.resetMouseVelocity so that you can get the measurement at any timing.