<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLevelIndicator/rectOfTickMark(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLevelIndicator(im)rectOfTickMarkAtIndex:"
  },
  "title" : "rectOfTickMark(at:)"
}
-->

# rectOfTickMark(at:)

Returns the bounding rectangle of the tick mark identified by the specified index (the minimum-value tick mark is at index 0).

```
func rectOfTickMark(at index: Int) -> NSRect
```

## Discussion

If no tick mark is associated with `index`, the method raises an `NSRangeException`.

---

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)