<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDStage/Object/primPath",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDStageV6ObjectV8primPathAA8USDLayerV0E0Vvp"
  },
  "title" : "primPath"
}
-->

# primPath

The complete path to this prim, or to the nearest prim that contains this object.

```
var primPath: USDLayer.Path { get }
```

## Discussion

If this object is a [`USDPrim`](/documentation/USDKit/USDPrim), `primPath` is the same as [`path`](/documentation/USDKit/USDStage/Object/path).
If this object is a [`USDPrim.Attribute`](/documentation/USDKit/USDPrim/Attribute) or a [`USDPrim.Relationship`](/documentation/USDKit/USDPrim/Relationship),
`primPath` is the complete scene path of the object’s [`prim`](/documentation/USDKit/USDStage/Object/prim).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)