> For the complete documentation index, see [llms.txt](https://spectrexr.gitbook.io/octoxr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spectrexr.gitbook.io/octoxr/locomotion/scripting/teleportdestination.md).

# TeleportDestination

* Abstract class. Has two concrete implementations: TeleportArea and TeleportAnchor

### Public Fields

bool CanTeleportHere

Vector3 HitNormal

UnityEvent OnTeleportedToDestination

UnityEvent OnTeleportedFromDestination

### Protected Fields

Vector3 teleportLocation

### Public Methods

Vector3 GetTeleportLocation()

virtual void SetTeleportLocation(RaycastHit)
