Capture mouse click event on IFrame


Could it be possible to capture a mouse click event on a IFrame?
The final objective is to know x and y coordinates on a frame where a display pictures and videos

I´ve tried with it with no efect…
IFrame currentFrame = new IFrame();

currentFrame.getElement().addEventListener(“click”, e → {…});

And also extending IFrame and implementing the interface ClickNotifier