Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

Dragging node

Detect when the user drags a specific object in the scene.
Read time 1 minuteLast updated 2 days ago

Use the Dragging node to react while a user holds the mouse button on a specific object and drags it. This node continues to fire as the drag continues, which is useful if you want to move an object with the mouse or update a slider while the user drags.

Sockets

Socket

Type

Description

Object
GameObject
The object the user must click and hold to start dragging. The event stays active while the user drags this object.
Drag Amount
Vector3
The amount and direction of movement since the last trigger. Use this to move or adjust the object based on how far the user drags it.