---
title: faceIndex
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/collisioncasthit/trianglehit-swift.struct/faceindex
---

# faceIndex

The face index for the mesh face that that the ray hit.

## Declaration

```swift
var faceIndex: Int { get }
```
