---
title: GCController.DidStopBeingCurrentMessage
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gccontroller/didstopbeingcurrentmessage
---

# GCController.DidStopBeingCurrentMessage

A message that posts after a game controller stops being the most recently used controller.

## Declaration

```swift
struct DidStopBeingCurrentMessage
```

## Overview

Overview Use the .didStopBeingCurrent identifier with NotificationCenter to listen for this message. let observation = NotificationCenter.default.addObserver(of: GCController.self, for: .didStopBeingCurrent) { message in    let controller = message.controller }

## Topics

### Initializers

- [init(controller:)](gamecontroller/gccontroller/didstopbeingcurrentmessage/init(controller:).md)

### Instance Properties

- [controller](gamecontroller/gccontroller/didstopbeingcurrentmessage/controller.md)

## Relationships

### Conforms To

- [NotificationCenter.MainActorMessage](foundation/notificationcenter/mainactormessage.md)
- [SendableMetatype](swift/sendablemetatype.md)
