             return 1 - alpha;
            };

            widget.afterUpdateWorldTransforms = () => {
                if (focusInput) {
                    blendTo(moveVector[0], moveVector[1]);
                } else {
                    const { x, y, width, height} = widget.getHostElement().getBoundingClientRect();
                    const l = -((widget.overlay.pointerCanvasX - (x + width)) / window.innerWidth) * ALPHA_LEFT_RANGE;
                    const d = ((widget.overlay.pointerCanvasY - (y + hei