I don't want to be disturbed by other multi-touch to rotate the camera without the joystick in With ThreeJS

I succeeded in rotating the camera on mobile in 3D environment with WithThreeJS and mouse point lock. If you move the mouse on the green splint on the touchscreen device, it recognizes the mouse movement and moves the camera. However, if you move the moving joystick at the same time, it detects the movement of the joystick mouse and moves the camera. In conclusion, I only want to detect the mouse movement within the green Sprite and move the camera. The joysticks are not affected by each other, and it seems like they did something with multiple touches, but I can’t think of it with my head.