---
title: prefersTrackingUntilMouseUp
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nscell/preferstrackinguntilmouseup
---

# prefersTrackingUntilMouseUp

Returns a Boolean value that indicates whether tracking stops when the cursor leaves the cell.

## Declaration

```swift
class var prefersTrackingUntilMouseUp: Bool { get }
```

## Return Value

Return Value true if tracking stops when the cursor leaves the cell, otherwise false.

## Discussion

Discussion The default implementation returns false. Subclasses may override this method to return a different value.

## See Also

### Tracking the Mouse

- [trackMouse(with:in:of:untilMouseUp:)](appkit/nscell/trackmouse(with:in:of:untilmouseup:).md)
- [startTracking(at:in:)](appkit/nscell/starttracking(at:in:).md)
- [continueTracking(last:current:in:)](appkit/nscell/continuetracking(last:current:in:).md)
- [stopTracking(last:current:in:mouseIsUp:)](appkit/nscell/stoptracking(last:current:in:mouseisup:).md)
- [mouseDownFlags](appkit/nscell/mousedownflags.md)
- [getPeriodicDelay(_:interval:)](appkit/nscell/getperiodicdelay(_:interval:).md)
