---
title: "subscript(_:)"
framework: pencilkit
role: symbol
role_heading: Instance Subscript
path: "pencilkit/pkstrokepath-swift.struct/subscript(_:)"
---

# subscript(_:)

Access the stroke point at the provided index.

## Declaration

```swift
subscript(range: ClosedRange<CGFloat>) -> PKStrokePath { get }
```
