Trigger only one hover functions if a component is hidding a second one

Hello,
When a component is hidding a second one from my point of view, I would like only the hover trigger of the first component to work. The camera can do any movement.
How to do ?
Thanks.

for this to work you need to implement something like pointer-event stopPropagation. order events nearest to the camera, the first object that calls the handler calls stopPropagation and that ends the chain.

1 Like

Thansk it works perfectly