# Get Position

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

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

![The Get Position Node.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-c6425457f6ef521e1a036b7db45ca09970cb7ced%2Fgetpositionnode20241.png?alt=media)

**Get Position** returns the $$X$$, $$Y$$, and $$Z$$ positions of an **Object** in a **Scene**.

[**Scope**](../../../overview#scopes): **Scene**, **Function**, **Prefab**.

**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 return. |

**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. |
| `Position`         | **Vector3** | A 3-dimensional **Vector** that contains the $$X$$, $$Y$$, and $$Z$$ positions of the target **Scene Object**.                         |
{% endtab %}

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

![The Get Position Node.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-de0277bf046b4911e599c1a5c2d143157d250c31%2Fgetpositionnode2d.png?alt=media)

**Get Position** returns the $$X$$ and $$Y$$ positions of an **Object** in a **Scene2D**.

[**Scope**](../../../overview#scopes): **Scene**, **Function**, **Prefab**.

**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 return. |

**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. |
| `Position`         | **Vector2** | A 2-dimensional **Vector** that contains $$X$$ and $$Y$$ positions of the target **Scene2D Object**.                                   |
{% endtab %}
{% endtabs %}

## See Also

* [**Get Rotation**](get-rotation)
* [**Get Scale**](get-scale)
* [**Set Position**](set-position)

## External Links

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