Get Mouse Position Delta
Last updated
Last updated
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.
Scope: Project, Scene, Function, Prefab.
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
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.