Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 2.0.1 / 1.13.2

Returns whether a mouse button is being held down.

isDown = IsMouseButtonDown([button])

Arguments

button 
string? - Name of the button. If not passed, then it returns if any mouse button is pressed.
["LeftButton", "RightButton", "MiddleButton", "Button4", "Button5"]

Returns

isDown 
boolean - Returns whether the given mouse button is held down.

Patch changes

Advertisement