title: Hide THREE.Mesh with dat.gui
body: <p>I am trying to create a simple 3D shapes of 3 buildings, assuming I start with the outlines (where I have the X and Y for each line start/end) and then extrude them.</p>
  
  <p>Google did not help me, so I kindly ask you to take a look if you can.
  I am attaching the lines as an image (just for info).</p>
  
  <p>How can I then make a little dat.GUI switch to turn the shapes on/off (I am not sure how to connect the geometry with the gui).</p>
  
  <p>Thank you!</p>
  
  <p><a href="https://i.stack.imgur.com/amkga.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/amkga.png" alt="outlines"></a></p>