Skip to content
ClassInput & Controls@public

MouseRecord

Represents a mouse input snapshot within a single replay frame.

ts
export declare class MouseRecord

Constructors

ts
constructor(x?: number, y?: number, button?: number, wheel?: number)

Constructs a new instance of the MouseRecord class

ParameterTypeDescription
xnumber-
ynumber-
buttonnumber-
wheelnumber-

Properties

PropertyModifiersTypeDescription
button-number-
wheel-number-
x-number-
y-number-

Released under the MIT License.