---
title: "pathID(_:for:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxpathapi_v3/pathid(_:for:)"
---

# pathID(_:for:)

Gets the unique ID of the path at the index requested.

## Declaration

```swift
func pathID(_ pathID: UnsafeMutablePointer<FxPathID?>!, for index: Int) throws
```

## Parameters

- `pathID`: The ID of the path at the given index.
- `index`: The index of the path that you want the ID of. This value is 0-based, so if there are n paths, you can retrieve paths at indexes 0 through n-1.

## See Also

### Getting Path Information

- [numberOfPaths(at:)](professional_video_applications/fxpathapi_v3/numberofpaths(at:).md)
- [name(_:ofPath:)](professional_video_applications/fxpathapi_v3/name(_:ofpath:).md)
- [isPath(_:open:at:)](professional_video_applications/fxpathapi_v3/ispath(_:open:at:).md)
- [isPath(_:inverted:at:)](professional_video_applications/fxpathapi_v3/ispath(_:inverted:at:).md)
- [style(_:ofPath:)](professional_video_applications/fxpathapi_v3/style(_:ofpath:).md)
- [length(_:ofPath:at:)](professional_video_applications/fxpathapi_v3/length(_:ofpath:at:).md)
- [length(_:ofSegment:ofPath:at:)](professional_video_applications/fxpathapi_v3/length(_:ofsegment:ofpath:at:).md)
- [number(ofVertices:inPath:at:)](professional_video_applications/fxpathapi_v3/number(ofvertices:inpath:at:).md)
- [vertex(_:at:ofPath:at:)](professional_video_applications/fxpathapi_v3/vertex(_:at:ofpath:at:).md)
- [point(_:atPercentageOfDistance:alongPath:at:)](professional_video_applications/fxpathapi_v3/point(_:atpercentageofdistance:alongpath:at:).md)
- [point(_:atPercentageOfParameter:alongPath:at:)](professional_video_applications/fxpathapi_v3/point(_:atpercentageofparameter:alongpath:at:).md)
- [blendMode(_:ofPath:)](professional_video_applications/fxpathapi_v3/blendmode(_:ofpath:).md)
- [pathGeometryInfo(_:forPath:at:)](professional_video_applications/fxpathapi_v3/pathgeometryinfo(_:forpath:at:).md)
