You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > charIn

8.7 charIn

on.charIn(char)

This routine is called when the user types a letter, digit, or other character. The parameter char is normally a one-byte string, but because it can contain a UTF-8 encoded character, it may be two or more bytes long. It may also contain the letters of a function name from one of the
short-cut keys, such as “sin” from the trig menu.

Introduced in platform.apiLevel = '1.0'