inkey_active
This flag is on when the inkey() function is active and awaits keyboard input, otherwise off. Inkey() can be terminated prematurely by setting this variable to 0 through another function.
Range:
on - inkey is active.
off - no inkey active.
Type:
flag
Example:
function entry_stop()
{
inkey_active = off; // terminate inkey instruction
}
on_mouseleft = entry_stop;
See also:
inkey