locator

Format:
locator(scan_id [, x $\Vert$ y])
Result:
Number, text
Description:
Returns the cursor position in world coordinates (SCAN GQE) or pixel numbers (ARRAY GQEs). If neither x nor y is supplied, the result is a text string, contain both coordinates. Otherwise the corresponding value is returned.
e.g.:
SPECTRA> * = locator(bpu1)
( 12.345, 1.2)
SPECTRA> * = locator(bpu1, x)
12.345