UI ModuleClassesKeyboardModifiersOn this pageKeyboardModifiers class KeyboardModifiers Properties alt: Bool Whether the alt (option on macOS) key is pressed. control: Bool Whether the control key (command on macOS) is pressed. shift: Bool Whether the shift key is pressed.