Rectangle.setPositionY()

Set the position of the rectangle on the Y axis

Parameters

NameTypeDescription
1ynumber

Return value

Rectangle

the rectangle with its new position

Usage