---
title: calloutShouldAnimateForAnnotation(annotation)
framework: mapkitjs
role: symbol
role_heading: Interface Method
path: mapkitjs/annotationcalloutdelegate/calloutshouldanimateforannotation
---

# calloutShouldAnimateForAnnotation(annotation)

Determines whether the callout animates.

## Declaration

```data
calloutShouldAnimateForAnnotation?(annotation: Annotation): boolean;
```

## Parameters

- `annotation`: The annotation for the callout.

## Return Value

Return Value This method returns a Boolean value that determines if the callout should be animated.

## Discussion

Discussion This method determines whether an appearance annotation should run. The animation runs if the value is true.

## See Also

### Customizing callout appearance

- [calloutAnchorOffsetForAnnotation(annotation, size)](mapkitjs/annotationcalloutdelegate/calloutanchoroffsetforannotation.md)
- [calloutShouldAppearForAnnotation(annotation)](mapkitjs/annotationcalloutdelegate/calloutshouldappearforannotation.md)
- [calloutAppearanceAnimationForAnnotation(annotation)](mapkitjs/annotationcalloutdelegate/calloutappearanceanimationforannotation.md)
