> For the complete documentation index, see [llms.txt](https://mobius-studios.gitbook.io/selectable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobius-studios.gitbook.io/selectable/api/events/selecting.md).

# selecting

Fires when an item is marked for selection.

***

The callback has two parameters which returns the original event and a reference to the item marked for selection.

```javascript
selectable.on("selecting", function(e, item) {
    // Do something when an item is marked for selection
});
```
