Skip to content

format

typescript
Rect.Move(delta_x, delta_y)

class: Rect

description

Moves the position of the rectangle.

parameter

param_nametypedescription
delta_xnumberThe amount to move along the x-axis.
delta_ynumberThe amount to move along the y-axis.

reture

typedescription
void

code example