<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGEventSource/localEventsSuppressionInterval",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Graphics",
      "CoreGraphics"
    ],
    "preciseIdentifier" : "c:@F@CGEventSourceGetLocalEventsSuppressionInterval"
  },
  "title" : "localEventsSuppressionInterval"
}
-->

# localEventsSuppressionInterval

Returns the interval that local hardware events may be suppressed following the posting of a Quartz event.

```
var localEventsSuppressionInterval: CFTimeInterval { get set }
```

## Discussion

By default, the system does not suppress local hardware events from the keyboard or mouse during a short interval after a Quartz event is posted. You can use the function [`setLocalEventsFilterDuringSuppressionState(_:state:)`](/documentation/CoreGraphics/CGEventSource/setLocalEventsFilterDuringSuppressionState(_:state:)) to modify this behavior.

This function gets the period of time in seconds that local hardware events may be suppressed after posting a Quartz event created with the specified event source. You can use the function [`CGEventSourceSetLocalEventsSuppressionInterval`](/documentation/CoreGraphics/CGEventSourceSetLocalEventsSuppressionInterval) to change this time interval.

---

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)