title: How to handle the click in the canvas on a certain layer?
body: <p>Here is my code:</p>
  
  <pre><code>var background = new LibCanvas('#canv');
   var planet = background.createLayer('planet');
   var mouse = planet.listenMouse();
    mouse.addEvent('click', function () {
      //code
    });
  </code></pre>
  
  <p>By clicking on the layer is not something that should be.</p>
  
  <p>If I doing this:</p>
  
  <pre><code>var background = new LibCanvas('#canv');
   var planet = background.createLayer('planet');
   var mouse = planet.listenMouse();
  var info=mouse.mouse;
    info.addEvent('click', function () {
      //code
    });
  </code></pre>
  
  <p>Clicking work out, but it works off and on in the background</p>