How to get selection draw cords (x,y)

Hi,

I didn’t understand which event is referring to the ‘selection’ tool.

I need to get the cords and understand if it know give me relative points in scale (zooming) or I need to manually calculate the original X,Y?

Hi daniel-wi,

The selection tool should be using X and Y coordinates in the browser, you can use the windowToPage() API to convert from window to page coordinates.

Best regards,
Tyler