---
title: focusedImage
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpmapbutton/focusedimage
---

# focusedImage

The image to display when focus is on the button.

## Declaration

```swift
var focusedImage: UIImage? { get set }
```

## Discussion

Discussion If focusedImage is nil, the button uses image as the default, creating a focused image using the alpha values from the image.

## See Also

### Providing Button Images

- [image](carplay/cpmapbutton/image.md)
