---
title: "init(redirectedEntity:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/manipulationcomponent/hittarget/init(redirectedentity:)"
---

# init(redirectedEntity:)

Initialize a HitTarget component redirecting to an entity that has a ManipulationComponent.

## Declaration

```swift
init(redirectedEntity: Entity? = nil)
```
