API Frame GetClampRectInsets

Returns a frame's clamp rectangle offsets. left, right, top, bottom = Frame:GetClampRectInsets This method is available for any widget that inherits from Frame.

Returns

 * left : Number - Left clamp region offset. Controls collision with the left edge of the screen, positive values allow the frame to be moved off-screen, negative values enforce minimum distance to the edge.
 * right : Number - Right clamp region offset. Controls collision with the right edge of the screen, negative values allow the frame to be moved off-screen, positive values enforce minimum distance to the edge.
 * top : Number - Top clamp region offset. Controls collision with the top edge of the screen, negative values allow the frame to be moved off-screen, positive values enforce minimum distance to the edge.
 * bottom : Number - Bottom clamp region offset. Controls collision with the bottom edge of the screen, positive values allow the frame to be moved off-screen, negative values enforce minimum distance to the edge.