---
title: "add(_:position:)"
framework: usdkit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdprim/specializecollection/add(_:position:)"
---

# add(_:position:)

Adds a specializes arc to the prim.

## Declaration

```swift
func add(_ primPath: USDLayer.Path, position: USDPrim.ListPosition = .backOfPrependList) throws
```

## Parameters

- `primPath`: The path of the prim to specialize.
- `position`: Where to insert the specializes in the prim’s specializes list.

## Discussion

Discussion note: An error if the specializes cannot be added.
