void addAY(int, float);
Function:
Adds data to the current Anchor Point Y position of the defined layer.
Send:
Layer number (int). Additional Anchor Point Y position data (float).
Returns:
Nothing
example:
float moreX = 0;
float moreY = 0;
void draw(){
background(myComp.getBG());
myComp.drawLayer(2);
//change position of Layer 2 by moving the mouse
float distX = mouseX-pmouseX;
float distY = mouseY-pmouseY;
moreX=(moreX+distX);
moreY=(moreY+distY);
//Add mouse position data to Anchor Point in layer 2
myComp.addAX(2, moreX);
myComp.addAY(2, moreY);
}