---
title: startIndex
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/entity/childcollection/startindex
---

# startIndex

The position of the first element in a nonempty collection. (See Collection.startIndex.)

## Declaration

```swift
@MainActor @preconcurrency var startIndex: Int { get }
```

## See Also

### Manipulating indices

- [endIndex](realitykit/entity/childcollection/endindex.md)
- [index(after:)](realitykit/entity/childcollection/index(after:).md)
