> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrtransform.md).

# OvrTransform

### Description

This Node is used to manage the most common interactions with the Unity [Transform](https://docs.unity3d.com/ScriptReference/Transform.html) Component.

It requires a Transform to be set up, see [Unity Manual](https://docs.unity3d.com/560/Documentation/Manual/Transforms.html) for more info.

Based on the action the Transform is required to perform, this component changes its behavior and requirements.

### Action Types

The OVER SDK provides several ways to interact with a Unity Transform Component. A list can be found in [OvrTransformActionType](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovrtransform/ovrtransformactiontype.md).

#### Setters

A collection of actions available for OvrTransform allows the user to set common Transform attributes, such as Position, Rotation (both in Local and World space), and local Scale.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Target</td><td><a href="https://docs.unity3d.com/ScriptReference/Transform.html">Transform</a></td><td>Unity Transform Component</td></tr><tr><td>ActionType</td><td><a href="/pages/291xZGeEDQiZjPRmX5GZ">OvrTransformActionType</a></td><td>Action type</td></tr><tr><td>TargetPosition</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Position only] Target Position to set</td></tr><tr><td>TargetRotation</td><td><a href="/pages/n2q4glq4gswYqhZJFpyF">OvrQuaternion</a></td><td>[Rotation only] Target Rotation to set</td></tr><tr><td>TargetScale</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Scaleonly]  Target Local Scale to set</td></tr></tbody></table>

#### Getters

Another collection of actions available for OvrTransform allows the user to Get the value of common Transform attributes, such as Position, Rotation (both in Local and World space), and local Scale.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Target</td><td><a href="https://docs.unity3d.com/ScriptReference/Transform.html">Transform</a></td><td>Unity Transform Component</td></tr><tr><td>ActionType</td><td><a href="/pages/291xZGeEDQiZjPRmX5GZ">OvrTransformActionType</a></td><td>Action type</td></tr><tr><td>TargetPosition</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Position only] Target Position to overwrite</td></tr><tr><td>TargetRotation</td><td><a href="/pages/530PnZhC3E3vvJ2z2LJo">OvrQuaternion</a></td><td>[Rotation only] Target Rotation to overwrite</td></tr><tr><td>TargetScale</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Scaleonly]  Target Local Scale to overwrite</td></tr></tbody></table>

#### Direction

A collection of actions available for OvrTransform allows the user to Get Transform's Direction vectors, such as Forward, Up, and Right (in Local and World space) vectors.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Target</td><td><a href="https://docs.unity3d.com/ScriptReference/Transform.html">Transform</a></td><td>Unity Transform Component</td></tr><tr><td>ActionType</td><td><a href="/pages/291xZGeEDQiZjPRmX5GZ">OvrTransformActionType</a></td><td>Action type</td></tr><tr><td>TargetDir</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>[Position only] Target Direction to save the value</td></tr></tbody></table>

![Example of OvrTransform, in this case, the World position of Ball Transform is set using TargetBallPos OvrVector3.](/files/t0iSitha9dDC6uWxJl56)

#### Unity Action

Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="214.7659040188865">Name</th><th width="182.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Target</td><td><a href="https://docs.unity3d.com/ScriptReference/Transform.html">Transform</a></td><td>Unity Transform Component</td></tr><tr><td>ActionType</td><td><a href="/pages/291xZGeEDQiZjPRmX5GZ">OvrTransformActionType</a></td><td>Action type [<a href="/pages/291xZGeEDQiZjPRmX5GZ">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](/files/o0M6wgSKAn2VuGOlKDOQ)
