Roblox UtilitiesDevlHub Roblox Documentation

Enum

ModifierKey

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

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 4#

NameValueSummary
Shift0The Shift key (left or right Shift key).
Ctrl1The Control key (left or right Ctrl key).
Alt2The Alt key (left or right Alt/Option key).
Meta3The Meta key (the Windows key on Windows, or the Command key on macOS).