relativeToProp(val : number) : this;
Sets the array of numbers giving the ratio of contributions that each node specified by relativeTo has on this node's location.
For more information see:
|val||number||The array of numbers to set.|
myobject.relativeTo([Z.screen, Z.screenRight]); myobject.relativeToProp([0.5, 0.5]); // myobject is now located halfway between the center and right of the screen