fun pan(offsetRight: Float, offsetUp: Float)(source)

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

Parameters

offsetRight

the amount to pan to the right.

offsetUp

the amount to pan upwards.


fun pan(offset: ZVector2)(source)