igiIsItemClicked

Checks whether the last widget was clicked - useful for widgets that don't report clicks themselves, like text or images. Returns: 1 on the frame the last widget was clicked.

IGI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Checks whether the last widget was clicked - useful for widgets that don't report clicks themselves, like text or images. Returns: 1 on the frame the last widget was clicked.

Technical Exegesis...

Checks whether the last widget was clicked - useful for widgets that don't report clicks themselves, like text or images.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Returns: 1 on the frame the last widget was clicked.

Example

Example.bam
igiImage(map, 0, 0)
If igiIsItemClicked() Then OpenBigMap()