# Set Object Rotation

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-b60f80da9c87c4864e614abbd14588189a6aabaa%2Fset-object-rotation.png?alt=media)

## Description

Sets the rotation of the Object

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input       | Type    | Required | Description                                         |
| ----------- | ------- | -------- | --------------------------------------------------- |
| Object      | Object  | Yes      | Object to rotate.                                   |
| Rotation    | Vector3 | Yes      | Rotation to set for object.                         |
| Is Relative | Boolean | Yes      | If TRUE, object will rotate local instead of world. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| (none) |      |             |

\
\
**Contributors**

AddiCt3d 2CHa0s
