Adjusts the position of the object by panning it to the right and up directions.
the amount to pan to the right.
the amount to pan upwards.