# selectConstraint

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

Limits user selection to certain windows of time.

<div class='spec' markdown='1'>
a groupId for [Events](https://legacy.fullcalendar.io/v5/event-object.md), `"businessHours"`, object
</div>

This value behaves identically to the way [eventConstraint](https://legacy.fullcalendar.io/v5/eventConstraint.md) limits where events can go. It accepts the same values.

Only applicable when the [selectable](https://legacy.fullcalendar.io/v5/selectable.md) option is activated.
