Constantly trigger mousemove event

后端 未结 0 1072
不思量自难忘°
不思量自难忘° 2021-02-04 03:14

I have a script that triggers when the cursor is being moved:

window.addEventListener(\'mousemove\', function(e){
        mouse.x = e.x;
        mouse.y = e.y;

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题