Selection.translate

void translate (UnitValue deltaX, UnitValue deltaY)

Parameters

deltaX The amount to move the object horizontally.
deltaY The amount to move the object vertically.

Description

Moves the object relative to its current position.