> 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/toolbox/incari/object/set-rotation.md).

# Set Rotation

This **Node** has different versions for [**Scenes**](/incari-studio/objects-and-types/project-objects/scene.md) and [**Scene2Ds**](/incari-studio/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/TlLNWwO0bb1lTo1CEqdG)

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

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

**Attributes**

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

| 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/DjPQUFdcZwsiIZ6kPk33)

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

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

**Attributes**

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

| 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/toolbox/incari/object/get-scale.md)
* [**Get Position**](/incari-studio/toolbox/incari/object/get-position.md)
* [**Get Rotation**](/incari-studio/toolbox/incari/object/get-position.md)

## External Links

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