Can I get the DOM coordinates where the cursor is located?

Can I get the DOM coordinates where the cursor is located? I want to print some modal where the cursor is located.

coordsAtPos will do that, or maybe a tooltip more directly provides what you need.

1 Like

thx for advice. it works