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()
Notes
- The count describes the text-input buffer captured for the current frame.