---
title: mice()
framework: gamecontroller
role: symbol
role_heading: Type Method
path: gamecontroller/gcmouse/mice()
---

# mice()

Returns any mice that the user connects to the device.

## Declaration

```swift
class func mice() -> [GCMouse]
```

## Return Value

Return Value The currently connected mouse devices.

## See Also

### Discovering mouse devices

- [GCMouseDidConnect](foundation/nsnotification/name-swift.struct/gcmousedidconnect.md)
- [GCMouseDidDisconnect](foundation/nsnotification/name-swift.struct/gcmousediddisconnect.md)
