Rectangle.setPositionX()

Set the position of the rectangle on the X axis

Parameters

NameTypeDescription
1xnumber

Return value

Rectangle

the rectangle with its new position

Usage