# Get Rotation 2D

## Overview

![The Get Rotation 2D Node.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-1a2533f86042da396f0feeb6d53a2ce708c7e186%2Fgetrotation2dupdatedimage.png?alt=media)

The **Get Rotation 2D Node** returns the *degree of rotation* of a **2D Object**.

[**Scope**](https://docs.incari.com/incari-studio/2022.1/overview#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Get Rotation 2D Node Attributes.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-3150c848f8efbcdd45822d0571bb34f4bb64619b%2Fnode-get-rotation-2d-attr.png?alt=media)

| Attribute | Type         | Description                                                                                                      |
| --------- | ------------ | ---------------------------------------------------------------------------------------------------------------- |
| `Object`  | **ObjectID** | The target **Object** whose `Rotation` you wish to return, if one is not provided in the `Object ID` **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 **Object** whose `Rotation` 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** | The *degree of rotation* of the target **Object**.                                                                                     |

## See Also

* [**Get Position 2D (px)**](https://docs.incari.com/incari-studio/2022.1/toolbox/incari/object/get-position-pixel)
* [**Get Size 2D (px)**](https://docs.incari.com/incari-studio/2022.1/toolbox/incari/object/get-size-pixel)
