<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStepper/autorepeat",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStepper(py)autorepeat"
  },
  "title" : "autorepeat"
}
-->

# autorepeat

A Boolean value that indicates how the stepper responds to mouse events.

```
var autorepeat: Bool { get set }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if the first mouse down does one increment (or decrement) and, after a delay of 0.5 seconds, increments (or decrements) at a rate of ten times per second. <doc://com.apple.documentation/documentation/Swift/false> if the receiver does one increment (decrement) on a mouse up. The default is <doc://com.apple.documentation/documentation/Swift/true>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)