Lbutton 事件似乎禁用了我的拖动

Lbutton event seems to disable my dragging

LButton::
MouseClick, Left 
if(recodring==true){
    mouseGetPos, x, y
    xPosPlan[pos] := x
    yPosPlan[pos] := y
    xPosPlan.push(0)
    yPosPlan.push(0)
    timePlan.push(0)
    pos := pos + 1

return
}

我做了一个记录鼠标点击的脚本,但是在这部分我不知道为什么左键拖动被禁用了?

实际情况是,当您按下左键时,脚本会拦截该事件并再次按下左键并再次按下左键。尝试替换

LButton::
MouseClick, Left

来自

~LButton::

。这将使脚本不会首先拦截该事件。