Skip to content

KeyCodeStringFormat

Not yet Enum

Determines the string format returned by UserInputService.GetStringForKeyCode().

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

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.

Items

Item Value Status Notes
Default 0 Not yet Default behavior which returns the full key string, for example "LeftControl", "Backspace", or "Escape".
Abbreviated 1 Not yet Returns a shortened key string when available, for example "LCtrl", "Bksp", or "Esc".

Roblox reference: KeyCodeStringFormat