import { reactive as t, onMounted as u, onUnmounted as r } from "vue";
function m() {
  const e = t({
    x: 0,
    y: 0
  });
  function o(n) {
    e.x = n.pageX, e.y = n.pageY;
  }
  return u(() => window.addEventListener("mousemove", o)), r(() => window.removeEventListener("mousemove", o)), e;
}
export {
  m as useMouse
};
//# sourceMappingURL=useMouse.js.map
