Dear Dan, if it is not asking too much, I need a help to know why [x,y] (x and y of property) is not being set by the first condition.
The first Condition is:
if(compareSize==0)[w/2,value[1]];
And when is true, no work.
I want that the priority be of first condition.
But the property is being defined by the conditions below;
And the main part that I want to prevent from having higher priority than the above condition is this:
if (compareSide==1){
x = n+s;
}
else if (compareSide==2){
x = w/2;
}
else if (compareSide==3){
x = w-s;
}
else x=value[0];
If necessary, I can show a Print Screen.
Thanks.