# Minimum Distance

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

The following example implements a minimum drag distance of `70px` and prevents the drag until that distance has been covered in one of the directions (`x` or `y`).

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/drag-and-drop/minimum-distance/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)
