Is there a way to get element from coordinates

I want to use the mobile: pinch execute method by providing specific x, y coordinates. However, since this method only accepts an elementId (in addition to scale and velocity), I was wondering if there is a way to retrieve the elementId of the topmost element at given coordinates?

Can I suggest you take a look at W3C Actions? I think you will find what you want there and it’s more modern:

1 Like