Rect.top

Function/Meaning
Top of rectangle
Type
Rect Class Properties
Explanation

Specifies the top edge of the rectangle.
You can also set the value.

Reference
Rect.setOffset