---
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/payloadcollection/add(_:position:)"
---

# add(_:position:)

Adds an existing payload arc to the prim.

## Declaration

```swift
func add(_ payload: USDPrim.Payload, position: USDPrim.ListPosition = .backOfPrependList) throws
```

## Parameters

- `payload`: The payload to add.
- `position`: Where to insert the payload in the prim’s payload list.

## Discussion

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