Css3drenderer and css2drenderer exist at the same time

I have a problem. When I use css2drenderer and css3drenderer at the same time, when adding click events to the instantiated css2dobject and css3dobject tag elements, because the dom of css2drenderer and css3drenderer have levels, click events can only detect one of them; Is there a raycaster method to detect css3dobject / css2dobject objects to add click events; Or there’s a better way

Use the CSS rule pointer-events: none on elements that you don’t plan on clicking, and pointer-events: auto on elements that you want to receive clicks.

2 Likes