---
title: "loadBodyTrackedAsync(named:in:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/entity/loadbodytrackedasync(named:in:)"
---

# loadBodyTrackedAsync(named:in:)

Asynchronously loads a body-tracked entity from a bundle.

## Declaration

```swift
@MainActor @preconcurrency static func loadBodyTrackedAsync(named name: String, in bundle: Bundle? = nil) -> LoadRequest<BodyTrackedEntity>
```

## Parameters

- `name`: The base name of the file to load, omitting the filename extension.
- `bundle`: The bundle containing the file. Use nil to search the app’s main bundle.

## Return Value

Return Value A resource loader that publishes the root entity in the loaded file as a BodyTrackedEntity.

## See Also

### Loading a flattened body-tracked entity

- [loadBodyTracked(named:in:)](realitykit/entity/loadbodytracked(named:in:).md)
- [loadBodyTracked(contentsOf:withName:)](realitykit/entity/loadbodytracked(contentsof:withname:).md)
- [loadBodyTrackedAsync(contentsOf:withName:)](realitykit/entity/loadbodytrackedasync(contentsof:withname:).md)
