# Set Rotation 2D

## Overview

![The Set Rotation 2D Node.](https://1582035224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-3848250649%2Fuploads%2Fgit-blob-c4872e907ca1bf53c9c78ca0d34bafc094a57cc5%2Fsetrotationpixel.png?alt=media)

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

## Attributes

| 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 Pixel**](https://docs.incari.com/incari-studio/2021.3/toolbox/incari/object/set-position-pixel)
* [**Set Size Pixel**](https://docs.incari.com/incari-studio/2021.3/toolbox/incari/object/set-size-pixel)
