<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Annotation/animates",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instp/mapkit.Annotation/animates"
  },
  "title" : "animates"
}
-->

# animates

A Boolean value that determines whether the framework animates the annotation.

```
get animates(): boolean;
set animates(value: boolean);
```

## Discussion

When this property is `true`, MapKit JS animates the appearance of the annotation on the map. You’re responsible for implementing an animation using the [`appearanceAnimation`](/documentation/MapKitJS/Annotation/appearanceAnimation) property.

The annotation doesn’t animate when:

- You don’t provide an animation in [`appearanceAnimation`](/documentation/MapKitJS/Annotation/appearanceAnimation).
- The [`animates`](/documentation/MapKitJS/Annotation/animates) property is `false.`

---

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)