> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.client.unity/ks.reactor.client.unity.ksunitytransformextension.md).

# Class ksUnityTransformExtension

Namespace: [KS.Reactor.Client.Unity](/reactor/api-reference/ks.reactor.client.unity.md)\
Assembly: KSUnity-Source.dll

Adds a [Teleport](#KS_Reactor_Client_Unity_ksUnityTransformExtension_Teleport_UnityEngine_Transform_2cUnityEngine_Vector3_) extension method to the Unity Transform.

```csharp
public static class ksUnityTransformExtension
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) â† [ksUnityTransformExtension](/reactor/api-reference/ks.reactor.client.unity/ks.reactor.client.unity.ksunitytransformextension.md)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

### Teleport(Transform, Vector3) <a href="#ks_reactor_client_unity_ksunitytransformextension_teleport_unityengine_transform_unityengine_vector3" id="ks_reactor_client_unity_ksunitytransformextension_teleport_unityengine_transform_unityengine_vector3"></a>

Sets the position. If the entity is owned by the local player with the transform permission, also sets [LocalOwnerTeleported](/reactor/api-reference/ks.reactor.client/ks.reactor.client.ksbaseentity.md#KS_Reactor_Client_ksBaseEntity_LocalOwnerTeleported) to teleport the entity on other clients.

```csharp
public static void Teleport(this Transform transform, Vector3 position)
```

#### Parameters

`transform` Transform

Transform

`position` Vector3

Position to set.
