title: How to toggle between true/false on click
body: <p>I am using an <code>.on</code> click function to enable a setting. How would I modify this to say on click, toggle the <code>(true)</code> value from false to true and back again on the next click?</p>
  
  <pre><code>    $("#myBtn").on('click', function(){
              panorama.setVisible(true);
      });
  </code></pre>