code: function (evtName) {
      var el = this.el;
      var intersectedEl = this.intersectedEl;
      var intersection;
  
      intersection = this.el.components.raycaster.getIntersection(intersectedEl);
      this.eventDetail.intersectedEl = intersectedEl;
      this.eventDetail.intersection = intersection;
      el.emit(evtName, this.eventDetail);
  
      if (!intersectedEl) { return; }
  
      this.intersectedEventDetail.intersection = intersection;
      intersectedEl.emit(evtName, this.intersectedEventDetail);
    }
docs: Helper to emit on both the cursor and the intersected entity (if exists).