Skip to content

pickSlothAnimation

pickSlothAnimation(random?): "blink" | "nod" | "look-around" | "eyeroll"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/launchBanner.ts:199

Pick one animation at random. random is injectable so a test can pin the choice — the production call passes nothing and gets Math.random.

() => number

"blink" | "nod" | "look-around" | "eyeroll"