<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMapButton/focusedImage",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPMapButton(py)focusedImage"
  },
  "title" : "focusedImage"
}
-->

# focusedImage

The image to display when focus is on the button.

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

## Discussion

If `focusedImage` is nil, the button uses [`image`](/documentation/CarPlay/CPMapButton/image) as the default, creating a focused image using the alpha values from the image.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)