---
title: "nextSibling(where:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/nextsibling(where:)"
---

# nextSibling(where:)

The successor of this prim in its parent’s list of children that satisfies the given predicate.

## Declaration

```swift
func nextSibling(where predicate: USDPrim.Predicate) -> USDPrim
```

## See Also

### Traversing the hierarchy

- [children](usdkit/usdprim/children.md)
- [allChildren](usdkit/usdprim/allchildren.md)
- [descendants](usdkit/usdprim/descendants.md)
- [allDescendants](usdkit/usdprim/alldescendants.md)
- [nextSibling](usdkit/usdprim/nextsibling.md)
- [children(where:)](usdkit/usdprim/children(where:).md)
- [descendants(where:)](usdkit/usdprim/descendants(where:).md)
- [prim(at:)](usdkit/usdprim/prim(at:).md)
- [USDPrim.Predicate](usdkit/usdprim/predicate.md)
