function OnEvent(event, arg)
while ReleaseMouseButton(2) do
if (event == "MOUSE_BUTTON_PRESSED" and arg == 2) then
if IsMouseButtonPressed(1) then
x, y = GetMousePosition()
MoveMouseRelative( x , y+10)
end
end
end
end
我想实现 左右键按下时,鼠标相对位置往下位移,松开其中按键停止。有没有大神帮忙看看哪里有问题呢