Returns the position and dimensions of the region

Signature:

left, bottom, width, height = Region:GetRect()

Returns:

  • left - Distance from the left edge of the screen to the left edge of the region (in pixels) (number)
  • bottom - Distance from the bottom edge of the screen to the bottom of the region (in pixels) (number)
  • width - Width of the region (in pixels) (number)
  • height - Height of the region (in pixels) (number)