---
title: "init(world:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/anchorentity/init(world:)"
---

# init(world:)

Creates an anchor entity with a target fixed at the given position in the scene.

## Declaration

```swift
@MainActor @preconcurrency convenience init(world position: SIMD3<Float>)
```

## Parameters

- `position`: The position with which to initialize the world target.
