KeyCodeStringFormat
Determines the string format returned by UserInputService:GetStringForKeyCode().
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 727 | Default | 0 | Default behavior which returns the full key string, for example
| |
| 727 | Abbreviated | 1 | Returns a shortened key string when available, for example |
Description
This enum is used with UserInputService:GetStringForKeyCode() to
control how the returned key string is formatted. The Abbreviated option
provides shortened labels suitable for compact UI elements such as keybind
hints, tooltips, or on-screen button prompts where space is limited.
History 3
- 727 Add Default
- 727 Add Abbreviated
- 727 Add KeyCodeStringFormat