# `GSGradientKnob.colorStopIndex`

*Instance Property*

`-1` if the knob is not about a color stop

## Declaration

```swift
var colorStopIndex: Int { get set }
```

```objc
@property (assign) NSInteger colorStopIndex;
```

```python
colorStopIndex() -> int
setColorStopIndex_(colorStopIndex: int)
```

