@mocanvas/editor · interface

TLCameraMoveOptions

interface TLCameraMoveOptions

Options accepted by every camera move (setCamera, zoomToBounds, …).


Properties · 3

animation?: {

Animate to the target instead of jumping there.

force?: boolean

Move even when the camera is locked.

immediate?: boolean

Skip any animation and land on the target immediately.

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.