# Hold to Drag

You can use the KendoReact `drag` callbacks to implement custom logic on top of them.

The following example demonstrates how to apply a hold delay in order to begin a drag after a specific time has passed. Once the pre-defined delay is reached, the Button appearance changes to `primary`, and the component can be dragged. In addition, if the user tries to drag it before the delay has passed, the drag will be canceled.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/drag-and-drop/hold-to-drag/func/source.txt)

## Suggested Links

* [Getting Started with the KendoReact Layout Package](https://www.telerik.com/kendo-react-ui-develop/components/layout/get-started)
* [API Reference of the `useDraggable` hook](https://www.telerik.com/kendo-react-ui-develop/components/common/api/usedraggable)
* [API Reference of the `useDroppable` hook](https://www.telerik.com/kendo-react-ui-develop/components/common/api/usedroppable)
* [API Reference of the `Draggable` Component](https://www.telerik.com/kendo-react-ui-develop/components/common/api/draggable)
* [API Reference of the `Droppable` Component](https://www.telerik.com/kendo-react-ui-develop/components/common/api/droppable)
* [API Reference of the `DragAndDrop` Component](https://www.telerik.com/kendo-react-ui-develop/components/common/api/draganddrop)
