---
title: id
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkstrokepath-swift.struct/id
---

# id

The unique identity of the stroke path.

## Declaration

```swift
var id: 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.
