title: Turn Cursor Effect on/off with a toggle switch?
body: <p>I am making my portfolio website currently. I have added a flashlight cursor effect from (<a href="https://codemyui.com/flashlight-mouse-pointer/" rel="nofollow noreferrer">https://codemyui.com/flashlight-mouse-pointer/</a>). I have also added a toggle switch from codemyui also.
  I am wondering if anyone knows how to link the effect &amp; toggle together so that when I press the switch - the cursor effect turns off?</p>
  <p>THANKS !!</p>
  <p><a href="https://i.stack.imgur.com/5nnXM.png" rel="nofollow noreferrer">Homepage with cursor effect &amp; toggle switch</a></p>