Skip to content

anim-format (runtime format) / planWithout

Function: planWithout() ​

ts
function planWithout(plan, other): PartPlan | null;

what is left of plan without the parts of other (clip.overlay(null, {parts}) takes parts back); null = nothing left

Parameters ​

ParameterType
planPartPlan
other{ bones: ReadonlyMap<string, unknown>; layers: ReadonlyMap<number, unknown>; }
other.bonesReadonlyMap<string, unknown>
other.layersReadonlyMap<number, unknown>

Returns ​

PartPlan | null

HereSplash — 2D animation for the web