let sources = xrSession.inputSources;
if (sources.length > 0) {
handleInput(sources[0]);
}XRInputSourceArray / notebook
XRInputSourceArray
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.