GetKey

Returns the ASCII code of a key press without waiting

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Returns the ASCII code of a key press without waiting

Technical Exegesis...

Returns the ASCII code of a key press without waiting. Non-blocking keyboard input function. Returns the ASCII value of the pressed key, or 0 if no key is currently pressed. Unlike Input, doesn't pause program execution. Useful for game input, real-time applications, or checking keyboard state without interrupting the program flow.

Example

Example.bam
; No example implemented yet