---
title: draggedDistance
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableheaderview/draggeddistance
---

# draggedDistance

The horizontal distance that the user has dragged a column.

## Declaration

```swift
var draggedDistance: CGFloat { get }
```

## Discussion

Discussion If the user is dragging a column, this property contains that column’s horizontal distance from its original position; otherwise, the property’s value is undefined.

## See Also

### Checking altered columns

- [draggedColumn](appkit/nstableheaderview/draggedcolumn.md)
- [resizedColumn](appkit/nstableheaderview/resizedcolumn.md)
