igiIsItemHovered

Checks whether the pointer is over the last widget. Returns: 1 if the pointer is over the widget just before it.

IGI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Checks whether the pointer is over the last widget. Returns: 1 if the pointer is over the widget just before it.

Technical Exegesis...

Checks whether the pointer is over the last widget.

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

Returns: 1 if the pointer is over the widget just before it.

Example

Example.bam
igiButton("Fire")
If igiIsItemHovered() Then ShowRange()