igiWantsKeyboard

Use it to stop typing in a text box also moving the player. Returns: 1 while an IGI text box has the keyboard.

IGI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Use it to stop typing in a text box also moving the player. Returns: 1 while an IGI text box has the keyboard.

Technical Exegesis...

Use it to stop typing in a text box also moving the player.

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

Returns: 1 while an IGI text box has the keyboard.

Example

Example.bam
If Not igiWantsKeyboard() Then
    If inpIsKeyDown(VKEY_LEFT) Then px = px - 2
EndIf