<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/teleportCharacter(to:relativeTo:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF"
  },
  "title" : "teleportCharacter(to:relativeTo:)"
}
-->

# teleportCharacter(to:relativeTo:)

Moves the character instantly to a new position.

```
@MainActor @preconcurrency func teleportCharacter(to position: SIMD3<Float>, relativeTo referenceEntity: Entity?)
```

## Parameters

`position`

The position to move the character to, relative to `referenceEntity`.

`referenceEntity`

The entity that defines a frame of reference.
Set this to `nil` to indicate world space.

## Discussion

This method moves the character to a location specified relative to another entity. Pass `nil` in
`relativeTo` to specify a position in world coordinates. A teleport move happens instantly.
RealityKit does no collision checking when it moves the entity.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)