> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2022.2/toolbox/incari/object/set-rotation.md).

# Set Rotation

This **Node** has different versions for [**Scenes**](/incari-studio/2022.2/objects-and-types/project-objects/scene.md) and [**Scene2Ds**](/incari-studio/2022.2/objects-and-types/project-objects/scene2d.md). Find in the tabs below the documentation for both versions.

{% tabs %}
{% tab title="Scene" %}

#### Overview

![The Set Rotation Node.](/files/M8p5PKtsXhFkPZM10I29)

**Set Rotation** sets the value of a given **Scene Object's** `Rotation` **Attribute**.

[**Scope**](/incari-studio/2022.2/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

#### Attributes

![The Set Rotation Node Attributes.](/files/o6MJY8woMGfPEMIGyrG0)

| Attribute  | Type        | Description                                                                                                 |
| ---------- | ----------- | ----------------------------------------------------------------------------------------------------------- |
| `Rotation` | **Vector3** | The desired `Rotation` values of the **Scene Object**, if one is not provided in the `Rotation` **Socket**. |

#### Inputs

| Input             | Type         | Description                                                                                                                                        |
| ----------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**.                                                                              |
| `Object ID`       | **ObjectID** | The ID of the target **Scene Object** whose `Rotation` value you wish to set.                                                                      |
| `Rotation`        | **Vector3**  | A 3-dimensional vector that contains the `Rotation` components measured in Euler angles along the X, Y, and Z axes of the target **Scene Object**. |

#### Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| {% endtab %}       |           |                                                                                                                                        |

{% tab title="Scene2D" %}

#### Overview

![The Set Rotation Node.](/files/kv1CnpyWGx28gV7cxDHB)

**Set Rotation** sets the value of a given **Scene2D Object's** `Rotation` **Attribute**.

[**Scope**](/incari-studio/2022.2/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

#### Attributes

![The Set Rotation Node Attributes.](/files/7IrtLxwCkipmLNR5Hbnl)

| Attribute  | Type      | Description                                                                                                  |
| ---------- | --------- | ------------------------------------------------------------------------------------------------------------ |
| `Rotation` | **Float** | The desired `Rotation` value of the **Scene2D Object**, if one is not provided in the `Rotation` **Socket**. |

#### Inputs

| Input             | Type         | Description                                                                     |
| ----------------- | ------------ | ------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**.           |
| `Object ID`       | **ObjectID** | The ID of the target **Scene2D Object** whose `Rotation` value you wish to set. |
| `Rotation`        | **Float**    | The **Float** value of the target **Scene2D Object's** rotation.                |

#### Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| {% endtab %}       |           |                                                                                                                                        |
| {% endtabs %}      |           |                                                                                                                                        |

## See Also

* [**Get Scale**](/incari-studio/2022.2/toolbox/incari/object/get-scale.md)
* [**Get Position**](/incari-studio/2022.2/toolbox/incari/object/get-position.md)
* [**Get Rotation**](/incari-studio/2022.2/toolbox/incari/object/get-position.md)

## External Links

* [*Rotation*](https://en.wikipedia.org/wiki/Euler_angles) on Wikipedia.
