Skip to main content

Function: resolveGlyphs()

resolveGlyphs(target): Mobject[]

Defined in: src/animation/text/kineticTypography.ts:42

Resolve the glyphs to animate. Returns the mobject's submobjects when present, otherwise the mobject itself as a single glyph. This keeps every preset safe for a plain or empty Text (one glyph, no throw).

Parameters​

target​

Mobject

Returns​

Mobject[]