@mocanvas/editor · function
declare function setFocusedGroup(editor: Editor, id: ShapeId | UnknownShape | null): voidDrill into a group, or back out to the page with null.
Focusing a group while a *different* group is focused is allowed and does not stack: the focus is a position in the tree, not a history. Backing out one level is popFocusedGroupId.
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.