Interface MouseEventCoordinatesInterface

Mouse event coordinates

interface MouseEventCoordinatesInterface {
    event: MouseEvent;
    x: number;
    y: number;
}

Properties

Properties

event: MouseEvent

Original mouse event

x: number

X coordinate of the mouse position [px]

y: number

Y coordinate of the mouse position [px]