Rectangle.setPositionXY()

Set the position of the rectangle

Parameters

NameTypeDescription
1positionXnumber
2positionYnumber

Return value

Rectangle

the rectangle with its new position

Usage