- [NEW] mouse.discard()
This commit is contained in:
@@ -459,6 +459,9 @@ function mouse.down(btn) end
|
||||
---Returns whether the specified mouse button has just been pressed
|
||||
function mouse.press(btn) end
|
||||
|
||||
---Ignores current down button, effectively not raising the next "press" event
|
||||
function mouse.discard() end
|
||||
|
||||
mouse.LEFT = 1
|
||||
mouse.MIDDLE = 2
|
||||
mouse.RIGHT = 3
|
||||
|
||||
Reference in New Issue
Block a user