# Module: ol/interaction/DragRotate

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/interaction/DragRotate

### Classes

DragRotate

### Type Definitions

#### Options{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `condition` | Condition | undefined | A function that takes a `MapBrowserEvent` and returns a boolean to indicate whether that event should be handled. Default is `altShiftKeysOnly`.
  `duration` | number (defaults to 250) | Animation duration in milliseconds.