Skip to main content
Version: Next

Mouse.reset() method

Resets the mouse to the default state: No buttons pressed; position at (0,0).

Signature:

class Mouse {
reset(): Promise<void>;
}

Returns:

Promise<void>