Files
wow_Meta/api/GetMouseButtonClicked.lua
2025-05-04 14:35:26 +02:00

6 lines
416 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@return string button
---Returns which mouse button triggered the current script. If called in a line of execution that started with a click handler (OnMouseDown, OnMouseUp, OnClick, OnDoubleClick, PreClick, or PostClick), returns a string identifying which mouse button triggered the handler. Otherwise, returns nil.
function GetMouseButtonClicked() end