# Set Rotation 2D

## Overview

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

The **Set Rotation 2D Node** sets the *degree of rotation* of a **2D Object**.

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

## Attributes

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

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

## See Also

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