mcut
@mcut/editor

splitSelectionAtPlayhead

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / editor/src / splitSelectionAtPlayhead

Function: splitSelectionAtPlayhead()

function splitSelectionAtPlayhead(engine): void;

Defined in: packages/editor/src/timeline-operators.ts:598

Split every selected element at the playhead, when it crosses one. Linked partners (shared linkId, e.g. detached audio) split along with their selected element, and the right halves are re-paired under a fresh linkId so each side stays a coherent pair.

Parameters

engine

EditorEngine

Returns

void

On this page