---
title: "receivesEventsInView(_:)"
framework: gamecontroller
role: symbol
role_heading: Type Method
path: "gamecontroller/gamecontrollereventhandlingoptions/receiveseventsinview(_:)"
---

# receivesEventsInView(_:)

A Boolean option that determines whether events are delivered exclusively through the GameController framework.

## Declaration

```swift
static func receivesEventsInView(_ receivesEventsInView: Bool) -> GameControllerEventHandlingOptions
```

## Discussion

Discussion If true, events are delivered both through the Game Controller framework and as SwiftUI events to your app’s views and gesture recognizers. If false, events are delivered exclusively through the Game Controller framework.
