moveBy()

This method is used to shift the location of the specified element by the X-Axis and Y-Axis amounts, measured in pixels.

syntax:

moveBy(X , Y)

This method is used with the following:

layer