# Set Rotation

## Overview

![The Set Rotation Node.](https://2523600638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-2530645121%2Fuploads%2Fgit-blob-78ebd112d411c97ea7e7783dcb7fd226ec4f7d1b%2Fset-rotation.PNG?alt=media)

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

## Attributes

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

## See Also

* [**Get Scale**](https://docs.incari.com/incari-studio/2021.2/toolbox/incari/object/get-scale)
* [**Get Position**](https://docs.incari.com/incari-studio/2021.2/toolbox/incari/object/get-position)
* [**Get Rotation**](https://docs.incari.com/incari-studio/2021.2/toolbox/incari/object/get-position)

## External Links

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