DspAnMoveRel
- Last UpdatedJul 18, 2023
- 1 minute read
Moves an AN relative to its current position. Any animation at this AN is also moved.
Note: This function was designed to only be used on Cicode objects, or the animation point object from the version 3.xx/4.xx toolbox.
Syntax
DspAnMoveRel(nAN, X, Y)
nAN:
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
Example
DspAnMoveRel(25,10,20);
/* Moves AN25 by 10 pixels to the right and 20 pixels downward,
relative to its current position. */