---
title: draggedColumn
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableheaderview/draggedcolumn
---

# draggedColumn

The index of the column that the user is dragging.

## Declaration

```swift
var draggedColumn: Int { get }
```

## Discussion

Discussion If the user is dragging a column, this property contains the index of that column; otherwise, it contains -1.

## See Also

### Checking altered columns

- [draggedDistance](appkit/nstableheaderview/draggeddistance.md)
- [resizedColumn](appkit/nstableheaderview/resizedcolumn.md)
