rue);
                }
                if (event === "enter") widget.state.setAnimation(0, "emotes/wave", true);
                if (event === "leave") widget.state.setAnimation(0, "interactive/head/idle", false);
            }

            // Head follow logic
            let focusInput = false;

            // Password input field
            const passwordInput = document.getElementById('password');
            passwordInput.addEventListener('focus', () => {
                focusInput = true;
          