Returns the insets from the frame's edges which determine its mouse-interactable area

Signature:

left, right, top, bottom = Frame:GetHitRectInsets()

Returns:

  • left - Distance from the left edge of the frame to the left edge of its mouse-interactive area (in pixels) (number)
  • right - Distance from the right edge of the frame to the right edge of its mouse-interactive area (in pixels) (number)
  • top - Distance from the top edge of the frame to the top edge of its mouse-interactive area (in pixels) (number)
  • bottom - Distance from the bottom edge of the frame to the bottom edge of its mouse-interactive area (in pixels) (number)