a ShowPrompt("Click in a drawing window") Point(a) ShowPrompt("x=", a, "y=", a)
When a ghost image is displayed with the ShowGhost function, the coordinates returned are either snapped to the grid or not, depending on the mode number passed to ShowGhost. If no ghost image is displayed, the nearest grid point is returned.
If the UseTransform function has been called to enable use of the current transform, the current transform will be applied to the displayed objects when using mode 8. The translation supplied to UseTransform is ignored (the translation tracks the mouse pointer).