xCoord: position of object on the grid x-axis