Rect.top Property

Gets or sets the top coordinate of the rectangle without modifying the height.
 

Property Value

Type: Number