# BazzBasic 1.1d
Download: https://github.com/EkBass/BazzBasic/releases
## 26th Mar 2026
Due MOUSE issue below is pretty major, BazzBasic 1.1d released as source and binary
## 26th Mar 2026
Bugfix: Mouse button detection rewrite
MOUSEB AND MOUSE_LEFT# did not work correctly because AND in BazzBasic is logical, not bitwise — any non-zero value is TRUE, so all three buttons appeared pressed simultaneously.
### Removed:
MOUSE_LEFT#, MOUSE_RIGHT#, MOUSE_MIDDLE# built-in constants
MOUSEB keyword (token kept internally for binary compatibility)
### Added:
MOUSELEFT — returns 1 if left mouse button is pressed, 0 otherwise
MOUSERIGHT — returns 1 if right mouse button is pressed, 0 otherwise
MOUSEMIDDLE — returns 1 if middle mouse button is pressed, 0 otherwise
```basic
WHILE INKEY <> KEY_ESC#
LOCATE 1, 1
PRINT "X:"; MOUSEX; " Y:"; MOUSEY; " "
IF MOUSELEFT THEN PRINT "Left clicked "
IF MOUSERIGHT THEN PRINT "Right clicked "
IF MOUSEMIDDLE THEN PRINT "Middle clicked"
SLEEP 10
WEND
```