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

# prim(at:)

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

## Declaration

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

## Parameters

- `path`: The path to look up.

## Return Value

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