---
title: isEnabled
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpmapbutton/isenabled
---

# isEnabled

A Boolean value that enables and disables the map button.

## Declaration

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

## Discussion

Discussion The default value is true.

## See Also

### Controlling the Button

- [isHidden](carplay/cpmapbutton/ishidden.md)
