Gets the x and y coordinates of an AN, in pixels, relative to the top-left corner of the window.
DspAnGetPos(AN, X, Y)
The animation-point number.
The variables used to store the x and y pixel coordinates of the AN, returned from this function.
0 (zero) if successful, otherwise an error is returned. The X and Y variables are set to the AN's position if successful, or to -1 if an error has been detected.
DspAnMove, DspAnInRgn, DspGetAnCur, DspGetMouse, DspGetNearestAn
/* Get the position of AN20 into X and Y. /