---
title: isTracking
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicontrol/istracking
---

# isTracking

A Boolean value that indicates whether the control is currently tracking touch events.

## Declaration

```swift
var isTracking: Bool { get }
```

## Discussion

Discussion While tracking of a touch event is in progress, the control sets the value of this property to true. When tracking ends or is canceled for any reason, it sets this property to false.

## See Also

### Tracking touches and redrawing controls

- [beginTracking(_:with:)](uikit/uicontrol/begintracking(_:with:).md)
- [continueTracking(_:with:)](uikit/uicontrol/continuetracking(_:with:).md)
- [endTracking(_:with:)](uikit/uicontrol/endtracking(_:with:).md)
- [cancelTracking(with:)](uikit/uicontrol/canceltracking(with:).md)
- [isTouchInside](uikit/uicontrol/istouchinside.md)
