---
title: enabled
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/annotation/enabled
---

# enabled

A Boolean value that determines whether the annotation responds to user interaction.

## Declaration

```data
get enabled(): boolean;
set enabled(value: boolean);
```

## Mentioned in

Adding interactivity to overlays

## Discussion

Discussion The default value is true.

## See Also

### Getting and setting interaction behavior

- [animates](mapkitjs/annotation/animates.md)
- [draggable](mapkitjs/annotation/draggable.md)
- [selected](mapkitjs/annotation/selected.md)
