const trackedAnchors = frame.trackedAnchors;
for (const anchor of previousFrameAnchors) {
if (!trackedAnchors.has(anchor)) {
// Handle anchor tracking loss
}
}XRAnchorSet / notebook
XRAnchorSet
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.