Home > @magiclane/maps-sdk > GemView > cursorSelectionPath
GemView.cursorSelectionPath() method
Retrieve the path under the cursor location.
Use setCursorScreenPosition to set the cursor location.
Signature:
cursorSelectionPath(): Path | null;Returns:
Path | null
A Path object under the cursor or null if not found.
Exceptions
An exception if it fails.