igiWantsMouse

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).

IGI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick 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).

Technical Exegesis...

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.

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

Example

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