---
title: shouldMonitorBackgroundEvents
framework: gamecontroller
role: symbol
role_heading: Type Property
path: gamecontroller/gccontroller/shouldmonitorbackgroundevents
---

# shouldMonitorBackgroundEvents

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

## Declaration

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

## Discussion

Discussion If 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 false. Prior to macOS 11.3, the default value is true. In iOS and tvOS, the framework ignores this property.

## See Also

### Inspecting a controller

- [isAttachedToDevice](gamecontroller/gccontroller/isattachedtodevice.md)
- [supportsHIDDevice(_:)](gamecontroller/gccontroller/supportshiddevice(_:).md)
