Im working with a perpetual calander and it using the following code to set the xPos and yPos. I know how to change positions with numbers but this code has a equation of sorts that i cant seem to find the right search to learn more about it to adjust it way i want. basically this code puts it in upper left hand corner…i moved it down where i wanted…but need to get it over to the right hand side. Last piece of my holiday project…just might make it for the HOLIDAY lol. Thanks for any help and to all those xmas coding elves that have helped along the way.
// DRAWING TEXT CELLS:
// Sizing
cellsNumber = 7;
cellSize = 30;
stageMargin = cellsNumber;
xPos = cellSize-stageMargin; <<<<<<this is what i cant figure out
yPos = 500;
cellWidth = cellsNumber*cellSize;