<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLObject/atPath(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLObject(im)objectAtPath:"
  },
  "title" : "atPath(_:)"
}
-->

# atPath(_:)

Returns the child object at the specified path.

```
func atPath(_ path: String) -> MDLObject
```

## Parameters

`path`

A path that identifies the object to be found using object names.

## Return Value

The requested object, or `nil` if no object matching the path can be found.

## Discussion

See the [`path`](/documentation/ModelIO/MDLObject/path) property for examples of how to construct object paths for searching.

---

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)