求助“鼠标侧键按下”判断写法
请教一下,鼠标测试按下怎么判断?鼠标侧键判断怎么写?我将 IsAltKeyDown() 中的Alt 换成 MOUSE_BUTTON4 用不了,换成 button == MOUSE_BUTTON4 也无法使用
https://wowwiki-archive.fandom.com/wiki/UIHANDLER_OnMouseDown
可以试试鼠标点击事件 Signature:
isDown = IsMouseButtonDown()
Arguments:
button - Number or name of a mouse button (number,string)
1 or LeftButton - Primary mouse button
2 or RightButton - Secondary mouse button
3 or MiddleButton - Third mouse button (or clickable scroll control)
4 or Button4 - Fourth mouse button
5 or Button5 - Fifth mouse button
Returns:
isDown - 1 if the mouse button is down; otherwise nil (1nil)
页:
[1]