MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isHoldMarker

Function isHoldMarker

packages/cli/src/commands/keyframes.ts:168–170  ·  view source on GitHub ↗
(anim: GsapAnimation)

Source from the content-addressed store, hash-verified

166// Studio-internal markers that aren't user motion: the position-hold `set` GSAP
167// runs before a keyframed position tween (`data: "hf-hold"`).
168function isHoldMarker(anim: GsapAnimation): boolean {
169 return anim.properties?.data === "hf-hold" || anim.fromProperties?.data === "hf-hold";
170}
171
172// Drop internal / non-visual keys so they don't pollute the surfaced keyframes.
173function cleanProps(props: Record<string, number | string>): Record<string, number | string> {

Callers 1

surfaceCompositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected