title: FabricJS: Find object in a group by cursor position
body: <p>How to find an object within a fabric group at the cursor position?</p>
  
  <p>Assume the following canvas initialization: </p>
  
  <pre><code>var text = new fabric.Text('Hello');
  var rect = new fabric.Rect({width: 100, height: 50});
  var group = new fabric.Group([text, rect], {
      left: 150, top: 100, angle: -10
  });
  canvas.add(group);
  </code></pre>
  
  <p>Now I would like to detect the object (i.e. either text or rect) below the cursor. Something like the following:</p>
  
  <pre><code>canvas.on('mouse:move', myFunc);
  myFunc = function(o) {
     var target = canvas.findTarget(o.e);
     if (target.type === 'group') {
         var obj = group.findTarget(o.e);
         // obj should be now either rect, text or null
     } 
  }
  </code></pre>
  
  <p>However, I cannot find any function like group.findTarget. </p>