---
title: minimumPressDuration
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspressgesturerecognizer/minimumpressduration
---

# minimumPressDuration

The minimum time (in seconds) that the user must hold the mouse button in the view for a valid gesture.

## Declaration

```swift
var minimumPressDuration: TimeInterval { get set }
```

## Discussion

Discussion The default value of this property is the same as the current double-click interval.

## See Also

### Configuring the Gesture Recognizer

- [allowableMovement](appkit/nspressgesturerecognizer/allowablemovement.md)
- [buttonMask](appkit/nspressgesturerecognizer/buttonmask.md)
- [numberOfTouchesRequired](appkit/nspressgesturerecognizer/numberoftouchesrequired.md)
