import { onMounted as e, onUnmounted as t, reactive as n } from "vue";
function r() {
	let r = n({
		x: 0,
		y: 0
	});
	function i(e) {
		r.x = e.pageX, r.y = e.pageY;
	}
	return e(() => window.addEventListener("mousemove", i)), t(() => window.removeEventListener("mousemove", i)), r;
}
export { r as useMouse };

//# sourceMappingURL=useMouse.js.map