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

# Get Rotation

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

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

![The Get Rotation Node.](/files/C8S8sqpVfiPdr1jxHISO)

**Get Rotation** returns the $$X$$, $$Y$$, and $$Z$$ rotation of an **Object** in a **Scene**.

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

**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` values one wishes to return. |

**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.                         |
| `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**. |
| {% endtab %}       |             |                                                                                                                                                                |

{% tab title="Scene2D" %}
**Overview**

![The Get Rotation Node.](/files/EHff4laPZXp25RzZS1Hv)

**Get Rotation** returns the `Rotation` value of an **Object** in a **Scene2D**.

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

**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 return. |

**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. |
| `Rotation`         | **Float** | A **Float** that contains the `Rotation` value of the target **Scene2D Object**.                                                       |
| {% endtab %}       |           |                                                                                                                                        |
| {% endtabs %}      |           |                                                                                                                                        |

## See Also

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

## External Links

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