Files
wow_Meta/api/IsMouseButtonDown.lua
2025-05-04 15:15:00 +02:00

12 lines
504 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param button 5 or Button5
---@param 1 or LeftButton
---@param 2 or RightButton
---@param 3 or MiddleButton
---@param 4 or Button4
---@param 5 or Button5
---@return 1nil isDown
---Returns whether a given mouse button is held down. If no button is specified, returns 1 if any mouse button is held down.
function IsMouseButtonDown(button, 1 or LeftButton, 2 or RightButton, 3 or MiddleButton, 4 or Button4, 5 or Button5) end