# selectAllow

> FullCalendar v3 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v3/selectAllow
>
> Latest version (v7): https://fullcalendar.io/docs/selectAllow.md

Exact programmatic control over where the user can select.

<div class='spec' markdown='1'>
function(selectInfo)
</div>

This callback will be called for every new potential selection as the user is dragging.

The callback function will receive information about where the user is attempting to select (`selectInfo`) and must return either `true` or `false`.

The `selectInfo` object will have the following properties:

- `start` (a [Moment](https://legacy.fullcalendar.io/v3/moment.md))
- `end` exclusive end date/time (a [Moment](https://legacy.fullcalendar.io/v3/moment.md))
- `resourceId` if you are using a [Resource View](https://legacy.fullcalendar.io/v3/scheduler.md)
