natiny.input.get_char_count
natiny.input.get_char_count() -> count
Returns how many Unicode characters were captured in the current frame text-input buffer.
Returns
| Type | Description |
|---|---|
number |
Number of available input characters |
Example
local n = natiny.input.get_char_count()