---
title: collisionMode
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/annotation/collisionmode-data.property
---

# collisionMode

A mode that determines the shape of the collision frame.

## Declaration

```data
get collisionMode(): AnnotationCollisionMode;
set collisionMode(value: AnnotationCollisionMode);
```

## Discussion

Discussion The collision mode indicates whether the annotation collides, and, if so, the shape of an annotation’s collision frame: The default value is Rectangle.

## See Also

### Managing clustering

- [memberAnnotations](mapkitjs/annotation/memberannotations.md)
- [clusteringIdentifier](mapkitjs/annotation/clusteringidentifier.md)
