Category: IGI (in-game GUI) — Layout
Syntax:
igiWantsMouse:Int()
None
1 while the pointer is over an IGI window (or one is being dragged).
Use it to stop a click on the GUI also counting as a click in your game.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If inpIsMouseHit(VMOUSE_LBUTTON) And Not igiWantsMouse() Then Fire()
BambooBasic © 2026 Michael Denathorn