weasel API - v0.8.0
    Preparing search index...

    Function createTransformOp

    • Op: set an object's pose, inverting back to from. coalesceKey defaults to transform:${id} so successive pose writes to the same node (drag-move, resize, repeated nudges) merge into one undo entry within the history's coalesce window. Pass an explicit key (or a unique one) to opt out.

      Type Parameters

      • TPose

      Parameters

      • args: TransformArgs<TPose>

      Returns Op