ModifierKey
Identifies a keyboard modifier key for use with InputObject:IsModifierKeyDown().
Items 4
| History | Name | Value | Description | |
|---|---|---|---|---|
| 598 | Shift | 0 | The Shift key (left or right Shift key). | |
| 408 | Ctrl | 1 | The Control key (left or right Ctrl key). | |
| 598 | Alt | 2 | The Alt key (left or right Alt/Option key). | |
| 598 | Meta | 3 | The Meta key (the Windows key on Windows, or the Command key on macOS). |
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).