<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCController/shouldMonitorBackgroundEvents",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCController(cpy)shouldMonitorBackgroundEvents"
  },
  "title" : "shouldMonitorBackgroundEvents"
}
-->

# shouldMonitorBackgroundEvents

A Boolean value that indicates whether the app needs to respond to controller events when it isn’t the frontmost app.

```
class var shouldMonitorBackgroundEvents: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/false>, and the app isn’t in the foreground, the framework doesn’t forward any input from the game controller until the app becomes the frontmost.

> Note:
> In macOS 11.3 and later, the default value for this property is <doc://com.apple.documentation/documentation/Swift/false>. Prior to macOS 11.3, the default value is <doc://com.apple.documentation/documentation/Swift/true>. In iOS and tvOS, the framework ignores this property.

---

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)