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

DspGetAnRight

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

Syntax

DspGetAnRight(AN)

AN:

The animation-point number.

Return Value

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

Related Functions

DspGetAnWidth, DspGetAnHeight, DspGetAnLeft, DspGetAnBottom, DspGetAnTop, DspGetAnExtent

Example

nRight = DspGetAnRight(30);

See Also

Display Functions