Skip to content

raylib.GetCharPressed

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get the last char pressed

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

// Drain the character queue each frame
ch = raylib.GetCharPressed
while ch != 0
    print "Character pressed: " + char(ch)
    ch = raylib.GetCharPressed
end while

Clone this wiki locally