---
title: GCMouseDidStopBeingCurrent
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/gcmousedidstopbeingcurrent
---

# GCMouseDidStopBeingCurrent

A notification that posts when a mouse stops being the most recent mouse that the user connects.

## Declaration

```swift
static let GCMouseDidStopBeingCurrent: NSNotification.Name
```

## Discussion

Discussion The notification object is a GCMouse object that represents the previous current mouse. For example, if you set any of the mouse input change handlers, unset them when you receive this notification. The system posts this notification on the main actor.

## See Also

### Game Controller

- [GCControllerDidConnect](foundation/nsnotification/name-swift.struct/gccontrollerdidconnect.md)
- [GCControllerDidDisconnect](foundation/nsnotification/name-swift.struct/gccontrollerdiddisconnect.md)
- [GCControllerDidBecomeCurrent](foundation/nsnotification/name-swift.struct/gccontrollerdidbecomecurrent.md)
- [GCControllerDidStopBeingCurrent](foundation/nsnotification/name-swift.struct/gccontrollerdidstopbeingcurrent.md)
- [GCControllerUserCustomizationsDidChange](foundation/nsnotification/name-swift.struct/gccontrollerusercustomizationsdidchange.md)
- [GCKeyboardDidConnect](foundation/nsnotification/name-swift.struct/gckeyboarddidconnect.md)
- [GCKeyboardDidDisconnect](foundation/nsnotification/name-swift.struct/gckeyboarddiddisconnect.md)
- [GCMouseDidBecomeCurrent](foundation/nsnotification/name-swift.struct/gcmousedidbecomecurrent.md)
- [GCMouseDidConnect](foundation/nsnotification/name-swift.struct/gcmousedidconnect.md)
- [GCMouseDidDisconnect](foundation/nsnotification/name-swift.struct/gcmousediddisconnect.md)
- [GCRacingWheelDidConnect](foundation/nsnotification/name-swift.struct/gcracingwheeldidconnect.md)
- [GCRacingWheelDidDisconnect](foundation/nsnotification/name-swift.struct/gcracingwheeldiddisconnect.md)
