igiWantsMouse

Category: IGI

Syntax:

igiWantsMouse:Int()



Returns

Int



Summary

Use it to stop a click on the GUI also counting as a click in your game.

Returns: 1 while the pointer is over an IGI window (or one is being dragged).

View detailed documentation online



Example
If inpIsMouseHit(VMOUSE_LBUTTON) And Not igiWantsMouse() Then Fire()

BambooBasic © 2026 Michael Denathorn