@mocanvas/store · function

isIndexJitterEnabled

declare function isIndexJitterEnabled(): boolean

Whether jitter is on right now.

Resolution order: an explicit setIndexJitterEnabled wins; then MOCANVAS_INDEX_JITTER, which is how you force it in a runner that does not set NODE_ENV or in one that sets it to test when you did not want that; then NODE_ENV === "test" turns it off. Otherwise on.

Mentioned here

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.