Add meta
This commit is contained in:
11
Meta/api/IsMouseButtonDown.lua
Normal file
11
Meta/api/IsMouseButtonDown.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@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
|
Reference in New Issue
Block a user