@mocanvas/editor · constant

TL_SCRIBBLE_STATES

declare const TL_SCRIBBLE_STATES: readonly ["starting", "paused", "active", "stopping"]

A scribble's lifecycle. starting is drawn but not yet growing, active follows the pointer, paused holds its shape, and stopping fades out — which is why removal is a state rather than a deletion.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.