How to capture click events on child elements of the element monitored by OrbitControls?

Hi, I have created a sphere using Three.js and also have a carousel component. I want to be able to rotate the sphere along the Y-axis when interacting with the carousel component. So, I set the element monitored by OrbitControls to be the common parent component of both the sphere and the carousel. Unfortunately, this approach prevents me from capturing click events on the carousel. Do you have any good solutions or ideas for this issue?

    const section = document.getElementById('section')
    const controls = new OrbitControls(camera, section!);
 return (<section id='section' onClick={(e) => {
  }} style={{
    width: '100%',
    height: '100vh',
    position: 'relative',
    background: 'black'
  }} className='flex justify-center'>
    <div id='slider'
      onClick={(e) => {
      style={{ width: '80%', position: 'absolute', top: '50%', zIndex: 1, userSelect: 'none' }}>
          type: 'loop',
          perPage: 3,
          arrows: false,
          pagination: false,
          drag: false,
          waitForTransition: true
        <SplideSlide key={1}>
          <div onClick={() => console.log(111112222)}>
            <Image style={{ cursor: 'pointer' }} width={200} src={img1} alt="Image 1" />
        <SplideSlide key={2}>
          <div >
            <Image style={{ cursor: 'pointer' }} width={200} src={img2} alt="Image 2" />
        <SplideSlide key={3}>
          <div >
            <Image style={{ cursor: 'pointer' }} width={200} src={img3} alt="Image 3" />
        </SplideSlide >
        <SplideSlide key={4}>
          <div >
            <Image style={{ cursor: 'pointer' }} width={200} src={img4} alt="Image 4" />
    <div className='absolute' id="three-container" style={{ width: '100%', height: '100vh', position: 'absolute', pointerEvents: 'none' }}>

Is there anyone who can help me out?:sob: