============================

```
//
var x = e.offsetX, y = e.offsetY;
if ( 'offsetX' in e !== true ) {
x = e.layerX - e.currentTarget.offsetLeft;
y = e.layerY - e.currentTarget.offsetTop;
if( this.style.transform!=="" ) {
var p = { x: x, y: y };
var val = this.style.transform;
var matrix = [];
val.split(",").forEach(function(value){ matrix.push( parseFloat(value) ); });
x = p.x*matrix[0] + p.y*matrix[2] + 1*matrix[4];
y = p.x*matrix[1] + p.y*matrix[3] + 1*matrix[5];
}
}
console.log( x, y );
```