@mocanvas/editor · interface
interface TLDragShapesInfoThe facts every drag callback receives.
Properties · 3
initialDraggingOverShapeId: ShapeId | nullThe shape under the pointer when the drag began, if any.
initialIndices: ReadonlyMap<ShapeId, IndexKey>Each dragged shape's z-index when the drag began.
initialParentIds: ReadonlyMap<ShapeId, ParentId>Each dragged shape's parent when the drag began.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.