---
title: "tickMarkValue(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsslider/tickmarkvalue(at:)"
---

# tickMarkValue(at:)

Returns the slider’s value represented by the tick mark at the specified index.

## Declaration

```swift
func tickMarkValue(at index: Int) -> Double
```

## Parameters

- `index`: The index of the tick mark for which to return the value. The minimum-value tick mark has an index of 0.

## Return Value

Return Value The value of the specified tick mark.

## Discussion

Discussion In its implementation of this method, the receiving NSSlider instance invokes the method of the same name of its NSSliderCell instance.

## See Also

### Managing tick marks

- [allowsTickMarkValuesOnly](appkit/nsslider/allowstickmarkvaluesonly.md)
- [closestTickMarkValue(toValue:)](appkit/nsslider/closesttickmarkvalue(tovalue:).md)
- [indexOfTickMark(at:)](appkit/nsslider/indexoftickmark(at:).md)
- [numberOfTickMarks](appkit/nsslider/numberoftickmarks.md)
- [rectOfTickMark(at:)](appkit/nsslider/rectoftickmark(at:).md)
- [tickMarkPosition](appkit/nsslider/tickmarkposition-swift.property.md)
- [NSSlider.TickMarkPosition](appkit/nsslider/tickmarkposition-swift.enum.md)
