Skip to content

ModifierKey

Not yet Enum

Identifies a keyboard modifier key for use with InputObject.IsModifierKeyDown().

Not implemented in Nova

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

Description

Identifies keyboard modifier keys. Pass a value to InputObject.IsModifierKeyDown() to test whether that modifier is held during an input event. Left and right physical variants map to the same value (for example, both Shift keys report as ModifierKey.Shift).

Items

Item Value Status Notes
Shift 0 Not yet The Shift key (left or right Shift key).
Ctrl 1 Not yet The Control key (left or right Ctrl key).
Alt 2 Not yet The Alt key (left or right Alt/Option key).
Meta 3 Not yet The Meta key (the Windows key on Windows, or the Command key on macOS).

Roblox reference: ModifierKey