Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

111
Visualizações
Trigger the mouse event while moving | PoitnerLockControl | Mouse Event | React Three Fiber

In this example, I have 2 boxes. When I hover to a box, this will change the color to be pink. The problem is when I hover a box and keep this mouse (don't move the mouse) and move the camera, the box still be pink until I move the camera outside of the box scope.

My question is: How to fix that? How can I trigger the mouse event when I'm moving?

My Demo: https://react-three-fiber-demo-chi.vercel.app/
My Code: https://github.com/hung-viet/react-three-fiber-demo

I've researched it for 2 weeks but still not find out any answers.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda