Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame GetClampRectInsets

Last wiki revision 2023-08-19

Returns the frame's clamp rectangle offsets. left, right, top, bottom = Frame:GetClampRectInsets

  • left: - 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: - 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: - 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: - 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.

Source

https://warcraft.wiki.gg/wiki/API_Frame_GetClampRectInsets · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.