|
thisX = getProperty("/a", _x);
thisY = getProperty("/a", _y);
spX = getProperty("/b", _x);
spY = getProperty("/b", _y);
difX = thisX-spX;
difY = thisY-spY;
xStp = difX/25;
yStp = difY/25;
setProperty("/b", _x, Number(spX)+Number(xStp));
setProperty("/b", _y, Number(spY)+Number(yStp));
|