@modoki/engine / index / activeSpriteClip
Function: activeSpriteClip()
activeSpriteClip(
anim):SpriteClip|undefined
Resolve the clip a SpriteAnimator should play right now: the active clip (or the first) within its clipSet asset, resolved via the cache. Returns undefined when there's no clipSet, the asset isn't loaded yet (caller retries next frame), or the named clip is absent.
Parameters
anim
Returns
SpriteClip | undefined