Javascript Prevent Click Through Objects In React Fiber Three Js

Javascript Prevent Click Through Objects In React Fiber Three Js