---
title: strokePathID
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkstrokepathreference/strokepathid
---

# strokePathID

The unique identity of the stroke path.

## Declaration

```swift
var strokePathID: UUID { get }
```

## Discussion

Discussion warning: Using multiple stroke paths with identical IDs but different control points will result in undefined rendering behavior. Ensure each stroke path has a unique identifier.
