📅  最后修改于: 2022-03-11 15:01:29.932000             🧑  作者: Mango
var Cursor_X;
var Cursor_Y;
document.addEventListener('mousemove', onMouseUpdate, false);
document.addEventListener('mouseenter', onMouseUpdate, false);
function onMouseUpdate(e){
Cursor_X = e.pageX;
Cursor_Y = e.pageY;
}