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

DspGetAnLeft

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

Syntax

DspGetAnLeft(AN)

AN:

The animation-point number.

Return Value

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

Related Functions

DspGetAnWidth, DspGetAnHeight, DspGetAnRight, DspGetAnBottom, DspGetAnTop, DspGetAnExtent

Example

nLeft = DspGetAnLeft(30);

See Also

Display Functions