Rect.Offset

From Xojo Documentation

Method

Rect.Offset(DeltaX As Double, DeltaY As Double)

New in 2019r2

Supported for all project types and targets.

Moves the point the passed number of pixels. Positive numbers move the point down or to the right, negative move it up or to the left.