# ModelModifySelectionEvent

typedef

Event fired when [`modifySelection`](module_engine_model_model-Model.md#function-modifySelection) method is called.

The [default action of that method](module_engine_model_model-Model.md#function-modifySelection) is implemented as a listener to this event, so it can be fully customized by the features.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/model.ts#L1312)

#### Value

`DecoratedMethodEvent<Model, 'modifySelection'>`

## Fired by

* [Model#modifySelection](module_engine_model_model-Model.md#event-modifySelection)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
