# Set Position

This **Node** has different versions for [**Scenes**](https://docs.incari.com/incari-studio/2023.2/objects-and-types/project-objects/scene) and [**Scene2Ds**](https://docs.incari.com/incari-studio/2023.2/objects-and-types/project-objects/scene2d). Find in the tabs below the documentation for both versions.

{% tabs %}
{% tab title="Scene" %}
**Overview**

![The Set Position Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-4205bd6181ec1dd10fa56810275f462a0bd5e69d%2Fsetpositionnode3d.png?alt=media)

**Set Position** sets the $$X$$, $$Y$$, and $$Z$$ values of a given **Scene Object's** `Position` **Attribute**.

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

**Attributes**

![The Set Position Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-5a27ae286cefb8a520f4b48cb4f4cdba12b3e481%2Fsetpositionatts3d.png?alt=media)

| Attribute  | Type        | Description                                                                                                 |
| ---------- | ----------- | ----------------------------------------------------------------------------------------------------------- |
| `Position` | **Vector3** | The desired `Position` values of the **Scene Object**, if one is not provided in the `Position` **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 **Scene Object** whose `Position` you wish to set.                                                        |
| `Position`        | **Vector3**  | A 3-dimensional **Vector** that contains the desired $$X$$, $$Y$$, and $$Z$$ values of the target **Scene Object's** position. |

**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. |
| {% endtab %}       |           |                                                                                                                                        |

{% tab title="Scene2D" %}
**Overview**

![The Set Position Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-ecc6d11668d55e0cf35c29bca9be69d1c4d83471%2Fsetpositionnode2dreal.png?alt=media)

**Set Position Node** sets the $$X$$ and $$Y$$ values of a **Scene2D Object's** `Position`.

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

**Attributes**

![The Set Position Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-45d9665216245f880d8d39bbe01882ad2ecebcd4%2Fsetpositionnode2d.png?alt=media)

| Attribute  | Type        | Description                                                                                                   |
| ---------- | ----------- | ------------------------------------------------------------------------------------------------------------- |
| `Position` | **Vector2** | The desired `Position` values of the **Scene2D Object**, if one is not provided in the `Position` **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 **Scene2D Object** whose `Position` you wish to set.                                                |
| `Position`        | **Vector2**  | A 2-dimensional **Vector** that contains the desired $$X$$ and $$Y$$ values of the target **Scene2D Object's** position. |

**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. |
| {% endtab %}       |           |                                                                                                                                        |
| {% endtabs %}      |           |                                                                                                                                        |

## See Also

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

## External Links

* [*Position (geometry)*](https://en.wikipedia.org/wiki/Position_\(geometry\)) on Wikipedia.
