---
title: "relationship(at:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/spec/relationship(at:)"
---

# relationship(at:)

Returns the relationship spec at the given path within this prim.

## Declaration

```swift
func relationship(at path: USDLayer.Path) -> USDPrim.Relationship.Spec?
```

## Parameters

- `path`: The path to look up.

## Return Value

Return Value The relationship spec, or nil if none exists at path.
