code: function getMouseEventInfo(event, divElt) {
    const clientRect = divElt.getBoundingClientRect();
    return {
      relX: event.clientX - clientRect.left,
      relY: event.clientY - clientRect.top,
      eltBounds: clientRect,
    };
  }
docs: Return extra information about the target element bounds