Table of Contents

Constructor DraggableState

Namespace
Velvet
Assembly
Velvet.Docs.dll

DraggableState(bool, DraggableInfo?, DroppableInfo?, Vector2?)

What Hooks.UseDraggable returns: dnd-kit's useDraggable state. Transform is the translate the drag applies to this draggable, null unless it is the one being dragged.

public DraggableState(bool IsDragging, DraggableInfo? Active, DroppableInfo? Over, Vector2? Transform)

Parameters

IsDragging bool
Active DraggableInfo
Over DroppableInfo
Transform Vector2?