# RotateBy Action

## Overview

![The RotateBy Action Node.](/files/gduw6QZZ7kdMccTo2c6b)

The **RotateBy Action Node** rotates an **Animation** by the relative values specified in the `Offset` for the `Duration` (in seconds), in either **Attributes** or **Inputs**.

## Attributes

| Attribute        | Type          | Description                                                                                    |
| ---------------- | ------------- | ---------------------------------------------------------------------------------------------- |
| `Offset`         | **Vector3**   | The amount to rotate the **Animation** by measured in Euler angles along the X, Y, and Z axes. |
| `Duration (sec)` | **Float**     | The total time of the **Action**.                                                              |
| `Interpolation`  | **Drop-down** | The `Interpolation` type. Can be Linear, Sine Ease In, Sine Ease Out, or Sine Ease In Out.     |

## Inputs

| Input         | Type           | Description                                                                                    |
| ------------- | -------------- | ---------------------------------------------------------------------------------------------- |
| `Instance ID` | **InstanceID** | The assigned **Instance** of an **Object**.                                                    |
| (►) `Start`   | **Pulse**      | A standard **Input Pulse**, to trigger the execution of the **Node**.                          |
| `Object ID`   | **ObjectID**   | The ID of the target **Object**.                                                               |
| `Duration`    | **Float**      | The total time (in seconds).                                                                   |
| `Offset`      | **Vector3**    | The amount to rotate the **Animation** by measured in Euler angles along the X, Y, and Z axes. |

## Outputs

| Output        | Type           | Description                                                                           |
| ------------- | -------------- | ------------------------------------------------------------------------------------- |
| `Instance ID` | **InstanceID** | The assigned **Instance** of an **Object**.                                           |
| `OnStart` (►) | **Pulse**      | Flows to additional actions following **RotateBy Action** when the **Action** starts. |
| `OnEnd` (►)   | **Pulse**      | Flows to additional actions following **RotateBy Action** when the **Action** stops.  |

## See Also

* [**RotateTo Action**](/incari-studio/2021.5/toolbox/actions/rotatetoaction.md)
* [**RotateFromTo Action**](/incari-studio/2021.5/toolbox/actions/rotatefromtoaction.md)

## External Links

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2021.5/toolbox/actions/rotatebyaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
