         controllerMesh.dotMesh.visible = true; */

                const gamepads = navigator.getGamepads();
                const gamepad = gamepads[i];
                if (gamepad.buttons[1].pressed) {
                  const optionX = Math.floor(x/(menuWidth*0.2));
                  if (optionX === 0) {
                    menuMesh.optionsMesh.d = 3;
                    menuMesh.optionsMesh.updateOptions();
                  } else if (optionX === 1) {
                    menuMesh.optionsMesh.d = 2;
   