Perspective mouse event: x, y coordinates

Hi all,
When I click a component in a Perspective view is there any way to get the x, y coordinates relative to the component I clicked? In the help I read about clientX/Y, screenX/Y, pageX/Y but nothing related to the clicked component.

Thanks in advance, regards

I don't think this is possible at present. I tried to do find a way to detect the click coordinates in a View Canvas so the user could add views containing icons onto a floor layout. There was no solution to my bumping this View Canvas mouse click coordinates thread. It does seem like a significant omission.

Thanks @Transistor . This is my second time I post this question: this time I have an image component where I show an SVG representing a plant and I'd like to catch the element inside the SVG where the operator clicks. Since each element is represented through the xy coordinates of its vertices, I was thinking of getting the mouse xy to get to the chosen element: in this case xy must be relative to the image component itself.

You can do it I believe with one of @victordcq 's js hacks posted already, I think it gets the SVG id

You definilty should not use coordinates to calculate which element is clicked, Its going to be a pain with zoom's and different sizes of screen.
Use one of my injections, it can catch the name prop in the svg.
The link nminchin supplied has an example view

Many thanks, I will give it a try and be back soon!