Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspGetAnTop

DspGetAnTop

Gets the top extent of the object at the specified AN.

Syntax

DspGetAnTop(AN)

AN:

The animation-point number.

Return Value

The y coordinate of the top extent of the object at the AN. If no object exists at the AN, -1 is returned.

Related Functions

DspGetAnWidth, DspGetAnHeight, DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnExtent

Example

nTop = DspGetAnTop(30);

See Also

Display Functions