> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/developer/afx/node-dictionary/unity/transform.md).

# Transform

## Transform Info

Obtain information about a given transform.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td>Transform</td><td>Reference to a transform.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Game Object</td><td>Game Object</td><td>The game object to which the transform belongs.</td></tr><tr><td>Parent</td><td>Transform</td><td>The transform of the parent object, if any.</td></tr><tr><td>Right</td><td>Vector3</td><td>A vector for the right direction.</td></tr><tr><td>Up</td><td>Vector3</td><td>A vector for the up direction.</td></tr><tr><td>Forward</td><td>Vector3</td><td>A vector for the forward direction.</td></tr></tbody></table>

## Limit Position

Modifies the position of the given transform, if required, to restrict the value of one or more axis.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Transform In</td><td>Transform</td><td>The transform to be restricted.</td></tr><tr><td>World Space</td><td>Boolean [editable]</td><td>If true, the limits will be applied to the transform's world space values. If false, the limits will be applied to the transform's local space values.</td></tr><tr><td>Limit X In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr><tr><td>Limit Y In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr><tr><td>Limit Z In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## Limit Rotation

Modifies the rotation of the given transform, if required, to restrict the value of one or more axis.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Transform In</td><td>Transform</td><td>The transform to be restricted.</td></tr><tr><td>World Space</td><td>Boolean [editable]</td><td>If true, the limits will be applied to the transform's world space values. If false, the limits will be applied to the transform's local space values.</td></tr><tr><td>Limit X In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr><tr><td>Limit Y In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr><tr><td>Limit Z In</td><td>Vector2</td><td>A vector 2 that defines the upper and lower limits.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## LookAt

Modifies the given transform so that its forward vector points towards another given transform.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Transform In</td><td>Transform</td><td>The transform to modify.</td></tr><tr><td>Look At Transform In</td><td>Transform</td><td>The transform that holds the position to look at.</td></tr><tr><td>World Up In</td><td>Vector3</td><td>A vector that defines the up direction to apply to <code>Transform In</code>.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## Rotate

Rotates a given transform by angles defined by a given vector3.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Transform In</td><td>Transform</td><td>The transform to modify.</td></tr><tr><td>World Space</td><td>Boolean [editable]</td><td>If true, the rotation is applied in world space. If false, the rotation is applied in local space.</td></tr><tr><td>Vector 3 In</td><td>Vector3</td><td>The rotation to apply.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## SetParent

Sets a given transform to be a child of another given transform.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Parent In</td><td>Transform</td><td>The new parent for the transform.</td></tr><tr><td>Child In</td><td>Transform</td><td>The transform to set the parent for.</td></tr><tr><td>Keep Offset</td><td>Boolean [editable]</td><td>If true, the transform maintains its word space position. If false, the transform's offset in position from its previous parent is used to set the offset in position from the new parent.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr><tr><td>Old Parent Out</td><td>Transform</td><td>The transform for the parent that <code>Child In</code> was previous a child of.</td></tr></tbody></table>

## Translate

Translates a given transform by a distance defined by a given vector3.

**Inputs:**

<table><thead><tr><th width="155">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Transform In</td><td>Transform</td><td>The transform to modify.</td></tr><tr><td>World Space</td><td>Boolean [editable]</td><td>If true, the translation is applied in world space. If false, the translation is applied in local space.</td></tr><tr><td>Vector3 In</td><td>Vector3</td><td>The transform to apply.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="154">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>
