# Enum.KeyCodeStringFormat

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/KeyCodeStringFormat/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/KeyCodeStringFormat

Determines the string format returned by [`UserInputService:GetStringForKeyCode()`](https://rapi.sleaze.dev/classes/UserInputService.md).

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Default` | 0 | Default behavior which returns the full key string, for example `"LeftControl"`, `"Backspace"`, or `"Escape"`. |
| `Abbreviated` | 1 | Returns a shortened key string when available, for example `"LCtrl"`, `"Bksp"`, or `"Esc"`. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [UserInputService](https://rapi.sleaze.dev/classes/UserInputService.md): method parameter `GetStringForKeyCode`
