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

DspAnMoveRel

Note: This function is only used for V3.xx and V4.xx animations, and was superseded by future releases.

Moves an AN relative to its current position. Any animation at this AN is also moved.

Syntax

DspAnMoveRel(AN, X, Y)

AN:

The animation-point number.

X:

The number of pixels to move the AN in the x plane.

Y:

The number of pixels to move the AN in the y plane.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DspAnMove

Example

DspAnMoveRel(25,10,20);
/* Moves AN25 by 10 pixels to the right and 20 pixels downward, relative to its current position. */

See Also

Display Functions