---
title: indexPath
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstreenode/indexpath
---

# indexPath

The position of the receiver relative to its root parent.

## Declaration

```swift
var indexPath: IndexPath { get }
```

## See Also

### Getting information about a node

- [representedObject](appkit/nstreenode/representedobject.md)
- [isLeaf](appkit/nstreenode/isleaf.md)
- [children](appkit/nstreenode/children.md)
- [mutableChildren](appkit/nstreenode/mutablechildren.md)
- [descendant(at:)](appkit/nstreenode/descendant(at:).md)
- [parent](appkit/nstreenode/parent.md)
