---
title: highlightedAnimationImages
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimageview/highlightedanimationimages
---

# highlightedAnimationImages

An array of UIImage objects to use for an animation when the view is highlighted.

## Declaration

```swift
var highlightedAnimationImages: [UIImage]? { get set }
```

## Discussion

Discussion The array must contain UIImage objects. You may use the same image object more than once in the array. Setting this property to a value other than nil hides the image represented by the highlightedImage property. The value of this property is nil by default.

## See Also

### Related Documentation

- [highlightedImage](uikit/uiimageview/highlightedimage.md)

### Animating a sequence of images

- [animationImages](uikit/uiimageview/animationimages.md)
- [animationDuration](uikit/uiimageview/animationduration.md)
- [animationRepeatCount](uikit/uiimageview/animationrepeatcount.md)
- [startAnimating()](uikit/uiimageview/startanimating().md)
- [stopAnimating()](uikit/uiimageview/stopanimating().md)
- [isAnimating](uikit/uiimageview/isanimating.md)
