---
title: isActive
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkvoicechat/isactive
---

# isActive

A Boolean value that indicates whether the channel is sampling the microphone.

## Declaration

```swift
var isActive: Bool { get set }
```

## Mentioned in

Adding voice chat to multiplayer games

## Discussion

Discussion If you set this property to true, the voice chat object transmits the voice data from the microphone to other players in the channel. If another voice chat object is using the microphone, GameKit switches the microphone to this channel and sets that voice chat object’s isActive property to false. The default value for this property is false.

## See Also

### Starting and Stopping Voice Chat

- [start()](gamekit/gkvoicechat/start().md)
- [stop()](gamekit/gkvoicechat/stop().md)
