- [NEW] mouse.discard()

This commit is contained in:
2025-06-20 13:49:59 +02:00
parent f154e1a36b
commit 7bff57c6fa
4 changed files with 20 additions and 1 deletions

View File

@@ -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