---
title: maskShift
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgeventflags/maskshift
---

# maskShift

Indicates that the Shift key is down for a keyboard, mouse, or flag-changed event.

## Declaration

```swift
static var maskShift: CGEventFlags { get }
```

## See Also

### Constants

- [maskAlphaShift](coregraphics/cgeventflags/maskalphashift.md)
- [maskControl](coregraphics/cgeventflags/maskcontrol.md)
- [maskAlternate](coregraphics/cgeventflags/maskalternate.md)
- [maskCommand](coregraphics/cgeventflags/maskcommand.md)
- [maskHelp](coregraphics/cgeventflags/maskhelp.md)
- [maskSecondaryFn](coregraphics/cgeventflags/masksecondaryfn.md)
- [maskNumericPad](coregraphics/cgeventflags/masknumericpad.md)
- [maskNonCoalesced](coregraphics/cgeventflags/masknoncoalesced.md)
