---
title: "add(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/referencecollection/add(_:)"
---

# add(_:)

Adds a reference to the prim that targets the asset at assetPath.

## Declaration

```swift
func add(_ assetPath: USDLayer.AssetPath) throws
```
