# Get Mouse Position Delta

## Overview

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

The **Get Mouse Position Delta Node** returns the difference between the current X and Y coordinates and the previous X and Y coordinates of the mouse's position in a device's screen. It also takes into account the speed of the change in the mouse's position.

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |

## 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** | The difference between the X and Y coordinates of the mouse's current position and its previous one. It also includes in its calculation the speed of this change. |

## See Also

* [**Get Mouse Position**](https://docs.incari.com/incari-studio/2023.2/toolbox/events/mouse/getmouseposition)
