<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGEventFilterMask",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGEventFilterMask"
  },
  "title" : "CGEventFilterMask"
}
-->

# CGEventFilterMask

Specify masks for classes of low-level events that can be filtered during event suppression states.

```
struct CGEventFilterMask
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/CoreGraphics/CGEventFilterMask/init(rawValue:))

### Type Properties

[`permitLocalKeyboardEvents`](/documentation/CoreGraphics/CGEventFilterMask/permitLocalKeyboardEvents)

[`permitLocalMouseEvents`](/documentation/CoreGraphics/CGEventFilterMask/permitLocalMouseEvents)

[`permitSystemDefinedEvents`](/documentation/CoreGraphics/CGEventFilterMask/permitSystemDefinedEvents)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)