You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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